import type { SegmentedProps } from 'antd'; import { Form, Segmented as AntSegmented } from 'antd'; import type { FC } from 'react'; import type { BaseElementProps, BaseOption } from './types'; const { Item: FormItem } = Form; type ElementProps = BaseElementProps & { options: BaseOption[]; }; export default (function Segmented({ value, setValue, options, status, isValid, help, ...props }: ElementProps) { return ( ); } as FC>);