import { ComponentSize } from '../../atoms/types'; import { IconType } from 'react-icons'; import { Key } from 'react-aria-components'; import { SelectionGroupValue } from '@components/forms/SelectionGroup'; export type ToggleBinaryStyle = 'default' | 'outline'; export type ToggleBinaryProps = ComponentSize & { /** * Default or initial value of the toggle binary */ defaultValue?: Key; /** * Callback when the selection changes (receives the new value) */ onChange?: (value: SelectionGroupValue) => void; /** * Key/value for the accepted state * @default 'accepted' */ acceptKey?: Key; /** * Key/value for the rejected state * @default 'rejected' */ rejectKey?: Key; /** * Icon for accept button * @default MdCheck */ acceptIcon?: IconType; /** * Icon for reject button * @default MdClose */ rejectIcon?: IconType; /** * Label for accept button * @default 'Aceptar' */ acceptLabel?: string; /** * Label for reject button * @default 'Rechazar' */ rejectLabel?: string; /** * Whether to use tonal variant styling * @default 'default' */ variant?: 'default' | 'outline'; /** * Additional class name */ className?: string; /** * Disable the component * @default false */ isDisabled?: boolean; /** * Hides the labels * @default false */ isIconOnly?: boolean; }; //# sourceMappingURL=types.d.ts.map