import ApiSchema from '~/components/ApiSchema' import { XCircle } from 'lucide-react' import { useState, type FC, type PropsWithChildren } from 'react' import { cn, Collapsible, CollapsibleContent, CollapsibleTrigger } from 'ui' interface IOptions { name?: string } type IOption = any type OptionsSubComponents = { Option: IOption } const ApiSchemaOptions: FC> & OptionsSubComponents = (props) => { const [open, setOpen] = useState(false) return ( {props.children} ) } ApiSchemaOptions.Option = ApiSchema export default ApiSchemaOptions