@rjsf/antd
Version:
Ant Design theme, fields and widgets for react-jsonschema-form
10 lines (9 loc) • 1.52 kB
TypeScript
import { ButtonProps } from 'antd';
import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
export type AntdIconButtonProps<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any> = Omit<IconButtonProps<T, S, F>, 'type' | 'color'>;
export default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>): import("react/jsx-runtime").JSX.Element;
export declare function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
export declare function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
export declare function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
export declare function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
export declare function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;