UNPKG

@dodobrat/react-ui-kit

Version:
21 lines (20 loc) 843 B
import React from "react"; import { AllCustomizationProps, AllPigmentOptions, CnCh, ElemType, LoadingProps, PigmentColorProps, RippleEffect } from "../../helpers/global.types"; declare type ExtraButtonProps = ElemType & RippleEffect & AllCustomizationProps & PigmentColorProps & CnCh & LoadingProps; export interface ButtonProps extends ExtraButtonProps { type?: "button" | "submit" | "reset"; equalDimensions?: boolean; hoverPigment?: AllPigmentOptions; activePigment?: AllPigmentOptions; iconStart?: null | React.ReactNode; iconEnd?: null | React.ReactNode; leftAlignContent?: boolean; unWrapText?: boolean; keyboardOnlyFocusRing?: boolean; spongy?: boolean; wide?: boolean; active?: boolean; href?: string; onClick?: React.MouseEventHandler<unknown>; } export {};