import React from 'react'; import { ButtonProps } from '../Button'; /** * ButtonToggleItem properties */ export interface ButtonToggleItemProps { /** Content of the Button, i.e. the displayed text */ text: React.ReactNode; /** Value of the Button */ value: T; /** Returns value of option for the click event */ onClick?: (value: T) => void; /** Indicates whether the Button is disabled or not. It makes the Button unselectable */ disabled?: ButtonProps['disabled']; /** Sets the option's selected state */ selected?: boolean; /** Selected button background color.
Possible values: 'primary', 'blue', 'negative', 'red' */ color?: ButtonProps['color']; /** Sets size of the button.
Possible values: 'large', 'small' */ size?: ButtonProps['size']; /** Specifies the name of the Button */ name: string; /** Hide the option (not commonly used) */ hidden?: boolean; /** React element to be rendered as an icon */ icon?: ButtonProps['icon']; /** Name of icon to render inside of button */ iconName?: ButtonProps['iconName']; } export declare const ButtonToggleItem: (props: React.PropsWithoutRef> & React.RefAttributes) => React.ReactElement | null;