import { DocContainer } from '../DocContainer'; import { MethodList } from '../MethodList'; import { PropertyList } from '../PropertyList'; import type { DocInterface } from '~/DocModel/DocInterface'; export interface InterfaceProps { data: ReturnType; } export function Interface({ data }: InterfaceProps) { return ( <> {data.properties.length ? : null} {data.methods.length ? : null} ); }