import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react/styled-system'; import { ToggleButtonProps as RaToggleButtonProps } from 'react-aria-components'; import { SemanticPalettesOnly } from '../../type-utils'; type ToggleButtonRecipeProps = { /** * Size variant of the toggle button * @default "md" */ size?: RecipeProps<"nimbusToggleButton">["size"]; /** * Visual style variant of the toggle button * @default "outline" */ variant?: RecipeProps<"nimbusToggleButton">["variant"]; }; export type ToggleButtonRootSlotProps = Omit, "colorPalette"> & { /** * Color palette for the toggle button */ colorPalette?: SemanticPalettesOnly; }; type ExcludedProps = "css" | "colorScheme" | "recipe" | "as" | "asChild"; export type ToggleButtonProps = Omit & RaToggleButtonProps & { /** * Ref forwarding to the button element */ ref?: React.Ref; }; export {};