@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
56 lines • 2.66 kB
TypeScript
import { MouseEventHandler } from 'react';
import { ButtonProps } from '../button';
import { InlineConfirmComponentsProps } from './InlineConfirm';
export interface InlineConfirmTargetProps extends ButtonProps, InlineConfirmComponentsProps {
onClick?: MouseEventHandler<HTMLButtonElement>;
}
export declare const InlineConfirmTarget: (<C = (<C_1 = "button">(props: import("@mantine/core").PolymorphicComponentProps<C_1, ButtonProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(ButtonProps & {
component?: any;
} & Omit<Omit<any, "ref">, "component" | keyof ButtonProps> & {
ref?: any;
renderRoot?: (props: any) => any;
}) | (ButtonProps & {
component: React.ElementType;
renderRoot?: (props: Record<string, any>) => any;
})>, never> & import("@mantine/core/lib/core/factory/factory").ThemeExtend<{
props: ButtonProps;
defaultRef: HTMLButtonElement;
defaultComponent: "button";
stylesNames: import("@mantine/core").ButtonStylesNames;
vars: import("@mantine/core").ButtonCssVariables;
variant: import("@mantine/core").ButtonVariant;
staticComponents: {
Group: typeof import("@mantine/core").ButtonGroup;
};
}> & import("@mantine/core/lib/core/factory/factory").ComponentClasses<{
props: ButtonProps;
defaultRef: HTMLButtonElement;
defaultComponent: "button";
stylesNames: import("@mantine/core").ButtonStylesNames;
vars: import("@mantine/core").ButtonCssVariables;
variant: import("@mantine/core").ButtonVariant;
staticComponents: {
Group: typeof import("@mantine/core").ButtonGroup;
};
}> & import("@mantine/core/lib/core/factory/polymorphic-factory").PolymorphicComponentWithProps<{
props: ButtonProps;
defaultRef: HTMLButtonElement;
defaultComponent: "button";
stylesNames: import("@mantine/core").ButtonStylesNames;
vars: import("@mantine/core").ButtonCssVariables;
variant: import("@mantine/core").ButtonVariant;
staticComponents: {
Group: typeof import("@mantine/core").ButtonGroup;
};
}> & {
Group: typeof import("@mantine/core").ButtonGroup;
}>(props: import("@mantine/core").PolymorphicComponentProps<C, InlineConfirmTargetProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(InlineConfirmTargetProps & {
component?: any;
} & Omit<Omit<any, "ref">, "component" | keyof InlineConfirmTargetProps> & {
ref?: any;
renderRoot?: (props: any) => any;
}) | (InlineConfirmTargetProps & {
component: React.ElementType;
renderRoot?: (props: Record<string, any>) => any;
})>, never> & Record<string, never>;
//# sourceMappingURL=InlineConfirmTarget.d.ts.map