import { PropsWithChildren, ReactNode } from 'react'; import { LabelProps } from '../../Label/Label.types.js'; import { BaseProps } from '../../types.js'; import '@emotion/react'; type RadioGroupProps = PropsWithChildren & { legend?: string | ReactNode; /** * @deprecated Use `legend` instead */ label?: string | ReactNode; /** * @deprecated Use `legend` with type ReactNode instead */ labelProps?: LabelProps<"label">; /** * @default column */ direction?: "row" | "column"; value: T; onChangeValue?: (value: T) => void; }; export { RadioGroupProps };