@reactjsonforms/antd-renderers
Version:
Ant Design Renderer Set for JSON Forms
9 lines (8 loc) • 441 B
TypeScript
import { ReactNode } from 'react';
import { EnumCellProps, EnumOption, WithClassname } from '@reactjsonforms/core';
export interface WithOptionLabel {
getOptionLabel?(option: EnumOption): string;
renderOption?(option: EnumOption): ReactNode;
filterOptions?(options: EnumOption[], state: any): EnumOption[];
}
export declare const AntdAutocomplete: (props: EnumCellProps & WithClassname & WithOptionLabel) => JSX.Element;