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