UNPKG

@hhgtech/hhg-components

Version:
15 lines (14 loc) 884 B
import React, { ButtonHTMLAttributes } from 'react'; import { ButtonProps as MantineButtonProps } from '@mantine/core'; import type { DataTrackingType } from "../../../interfaces/types"; export type ButtonProps = { variant?: 'primary' | 'secondary' | 'tertiary' | 'light' | 'ghost' | 'error' | 'white' | 'success'; skipHover?: boolean; theme?: 'helloSites' | 'marryBaby'; } & Omit<MantineButtonProps, 'variant'> & ButtonHTMLAttributes<HTMLButtonElement> & DataTrackingType; declare const Button: React.ForwardRefExoticComponent<{ variant?: 'primary' | 'secondary' | 'tertiary' | 'light' | 'ghost' | 'error' | 'white' | 'success'; skipHover?: boolean; theme?: 'helloSites' | 'marryBaby'; } & Omit<MantineButtonProps, "variant"> & React.ButtonHTMLAttributes<HTMLButtonElement> & DataTrackingType & React.RefAttributes<unknown>>; export { Button };