UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

45 lines 1.62 kB
import { CollapseProps, Factory, StylesApiProps } from '@mantine/core'; import { ReactNode } from 'react'; export type ChildFormStylesNames = 'root' | 'paper'; export interface ChildFormProps extends CollapseProps, StylesApiProps<ChildFormFactory> { /** * Title of the child form. */ title?: string; /** * Description of the child form. */ description?: ReactNode; } type ChildFormFactory = Factory<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: 'div'; stylesNames: ChildFormStylesNames; }>; export declare const ChildForm: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, ChildFormProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(ChildFormProps & { component?: any; } & Omit<Omit<any, "ref">, "component" | keyof ChildFormProps> & { ref?: any; renderRoot?: (props: any) => any; }) | (ChildFormProps & { component: React.ElementType; renderRoot?: (props: Record<string, any>) => any; })>, never> & import("@mantine/core").ThemeExtend<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: ChildFormStylesNames; }> & import("@mantine/core").ComponentClasses<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: ChildFormStylesNames; }> & import("@mantine/core").PolymorphicComponentWithProps<{ props: ChildFormProps; defaultRef: HTMLDivElement; defaultComponent: "div"; stylesNames: ChildFormStylesNames; }>; export {}; //# sourceMappingURL=ChildForm.d.ts.map