UNPKG

571 BTypeScriptView Raw
1import * as React from 'react';
2export interface FormSectionProps extends Omit<React.HTMLProps<HTMLDivElement>, 'title'> {
3 /** Content rendered inside the section */
4 children?: React.ReactNode;
5 /** Additional classes added to the section */
6 className?: string;
7 /** Title for the section */
8 title?: React.ReactNode;
9 /** Element to wrap the section title*/
10 titleElement?: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
11}
12export declare const FormSection: React.FunctionComponent<FormSectionProps>;
13//# sourceMappingURL=FormSection.d.ts.map
\No newline at end of file