import { PressEvent, type ButtonProps as AriaProps } from 'react-aria-components'; import { ComponentSize } from '../../atoms/types'; import { IconType } from '../../atoms/Icon/types'; import type { BadgeProps as ITDSBadgeProps } from '../../feedback/Badge/types'; export type VariantType = 'primary' | 'secondary' | 'tertiary' | 'tonal' | 'danger' | 'danger-text' | 'danger-outline' | 'success' | 'grey' | 'primary-light' | 'success-outline' | 'overlay'; export type ButtonProps = AriaProps & ComponentSize & { variant?: VariantType; type?: 'button' | 'reset' | 'submit'; label?: string; className?: string; LeftIcon?: IconType; RightIcon?: IconType; onClick?: (event: PressEvent) => void; isLoading?: boolean; isFullWidth?: boolean; isSelected?: boolean; badgeProps?: ITDSBadgeProps; }; //# sourceMappingURL=types.d.ts.map