@agentlab/rjsf-antd
Version:
Ant Design theme, fields and widgets for react-jsonschema-form
13 lines • 555 B
TypeScript
import React from 'react';
import { ThemeProps } from 'react-jsonschema-form';
import { RjsfFormProps } from '../Form';
import Form from 'react-jsonschema-form';
interface ThemePropsWithChildren<T> extends ThemeProps<T> {
children?: T;
}
declare function withTheme<T>(themeProps: ThemePropsWithChildren<T>): React.ForwardRefExoticComponent<React.PropsWithoutRef<RjsfFormProps<T>> & React.RefAttributes<Form<T>>>;
declare namespace withTheme {
var displayName: string | undefined;
}
export default withTheme;
//# sourceMappingURL=withTheme.d.ts.map