@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
44 lines • 1.67 kB
TypeScript
import { CollapseProps, Factory, StylesApiProps } from '@mantine/core';
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?: string;
}
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/lib/core/factory/factory").ThemeExtend<{
props: ChildFormProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: ChildFormStylesNames;
}> & import("@mantine/core/lib/core/factory/factory").ComponentClasses<{
props: ChildFormProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: ChildFormStylesNames;
}> & import("@mantine/core/lib/core/factory/polymorphic-factory").PolymorphicComponentWithProps<{
props: ChildFormProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: ChildFormStylesNames;
}>;
export {};
//# sourceMappingURL=ChildForm.d.ts.map