UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

48 lines 2.06 kB
import { ActionIconCssVariables, type ActionIconGroup, type ActionIconProps as MantineActionIconProps, ActionIconStylesNames, ActionIconVariant } from '@mantine/core'; import { MouseEventHandler } from 'react'; import { ButtonWithDisabledTooltipProps } from '../button/ButtonWithDisabledTooltip'; export interface ActionIconProps extends MantineActionIconProps, ButtonWithDisabledTooltipProps { onClick?: MouseEventHandler<HTMLButtonElement>; } export declare const ActionIcon: (<C = "button">(props: import("@mantine/core").PolymorphicComponentProps<C, ActionIconProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(ActionIconProps & { component?: any; } & Omit<Omit<any, "ref">, "component" | keyof ActionIconProps> & { ref?: any; renderRoot?: (props: any) => any; }) | (ActionIconProps & { component: React.ElementType; renderRoot?: (props: Record<string, any>) => any; })>, never> & import("@mantine/core/lib/core/factory/factory").ThemeExtend<{ props: ActionIconProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: ActionIconStylesNames; vars: ActionIconCssVariables; variant: ActionIconVariant; staticComponents: { Group: typeof ActionIconGroup; }; }> & import("@mantine/core/lib/core/factory/factory").ComponentClasses<{ props: ActionIconProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: ActionIconStylesNames; vars: ActionIconCssVariables; variant: ActionIconVariant; staticComponents: { Group: typeof ActionIconGroup; }; }> & import("@mantine/core/lib/core/factory/polymorphic-factory").PolymorphicComponentWithProps<{ props: ActionIconProps; defaultRef: HTMLButtonElement; defaultComponent: "button"; stylesNames: ActionIconStylesNames; vars: ActionIconCssVariables; variant: ActionIconVariant; staticComponents: { Group: typeof ActionIconGroup; }; }> & { Group: typeof ActionIconGroup; }; //# sourceMappingURL=ActionIcon.d.ts.map