@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
65 lines • 2.83 kB
TypeScript
import { AlertCssVariables, AlertProps, AlertStylesNames, AlertVariant } from '@mantine/core';
export declare const Alert: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, AlertProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(AlertProps & {
component?: any;
} & Omit<Omit<any, "ref">, "component" | keyof AlertProps> & {
ref?: any;
renderRoot?: (props: any) => any;
}) | (AlertProps & {
component: React.ElementType;
renderRoot?: (props: Record<string, any>) => any;
})>, never> & import("@mantine/core").ThemeExtend<{
props: AlertProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: AlertStylesNames;
vars: AlertCssVariables;
variant: AlertVariant;
staticComponents: {
Information: typeof AlertInformation;
Advice: typeof AlertAdvice;
Warning: typeof AlertWarning;
Critical: typeof AlertCritical;
Success: typeof AlertSuccess;
};
}> & import("@mantine/core").ComponentClasses<{
props: AlertProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: AlertStylesNames;
vars: AlertCssVariables;
variant: AlertVariant;
staticComponents: {
Information: typeof AlertInformation;
Advice: typeof AlertAdvice;
Warning: typeof AlertWarning;
Critical: typeof AlertCritical;
Success: typeof AlertSuccess;
};
}> & import("@mantine/core").PolymorphicComponentWithProps<{
props: AlertProps;
defaultRef: HTMLDivElement;
defaultComponent: "div";
stylesNames: AlertStylesNames;
vars: AlertCssVariables;
variant: AlertVariant;
staticComponents: {
Information: typeof AlertInformation;
Advice: typeof AlertAdvice;
Warning: typeof AlertWarning;
Critical: typeof AlertCritical;
Success: typeof AlertSuccess;
};
}> & {
Information: typeof AlertInformation;
Advice: typeof AlertAdvice;
Warning: typeof AlertWarning;
Critical: typeof AlertCritical;
Success: typeof AlertSuccess;
};
declare const AlertInformation: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, AlertProps>) => React.ReactElement;
declare const AlertAdvice: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, AlertProps>) => React.ReactElement;
declare const AlertSuccess: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, AlertProps>) => React.ReactElement;
declare const AlertWarning: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, AlertProps>) => React.ReactElement;
declare const AlertCritical: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, AlertProps>) => React.ReactElement;
export {};
//# sourceMappingURL=Alert.d.ts.map