import { ComponentProps, PropsWithChildren } from 'react'; import { BaseProps } from '../types.js'; import '@emotion/react'; type RadioProps = Pick & Omit, "value" | "children" | "type"> & { onChangeValue?: ((value?: string) => void) | ((value: string) => void); value?: string; }; type RadioLabelProps = { /** * @default "left" */ iconPosition?: "left" | "right"; /** * @deprecated Use `label` instead */ text?: string; label?: string; } & RadioProps & PropsWithChildren; type RadioSetProps = PropsWithChildren>; export { RadioLabelProps, RadioProps, RadioSetProps };