import { OmitInternalProps } from '../../type-utils/omit-props'; import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react/styled-system'; import { RadioGroupProps as RaRadioGroupProps, RadioProps as RaRadioProps } from 'react-aria-components'; type RadioInputRecipeProps = { /** * Layout orientation for radio options * @default "vertical" */ orientation?: RecipeProps<"nimbusRadioInput">["orientation"]; }; export type RadioInputRootSlotProps = HTMLChakraProps<"div", RadioInputRecipeProps>; export type RadioInputOptionSlotProps = HTMLChakraProps<"span", RecipeProps<"option">>; type RadioGroupPropsSubset = Omit & { /** Radio options to display */ children?: React.ReactNode; }; export type RadioInputRootProps = OmitInternalProps & RadioGroupPropsSubset; export type RadioInputOptionProps = RaRadioProps & OmitInternalProps; export {};