/** * @fileoverview RadioGroup — accessible radio button group with polished styling and focus states. * @module packages/ui/components/ui/radio-group * @layer core * * @component * @example * import { RadioGroup, RadioGroupItem } from '@saasflare/ui'; * * * * */ import * as React from "react"; import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; import { type SaasflareComponentProps } from "../../providers"; /** * Props for {@link RadioGroup}. * * Extends the Radix RadioGroup Root props with {@link SaasflareComponentProps}, * so `surface`, `radius`, `animated`, and `iconWeight` can be supplied * per-instance or inherited from . */ interface RadioGroupProps extends Omit, keyof SaasflareComponentProps>, SaasflareComponentProps { } /** * Accessible radio button group. Wrap one or more {@link RadioGroupItem}s and * control the active value via `value`/`defaultValue`. Honors the `surface`, * `radius`, and `animated` axes through {@link useSaasflareProps}. * * @example * * * * */ declare function RadioGroup({ className, surface, radius, animated, iconWeight, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element; /** * A single selectable option within a {@link RadioGroup}. The checked * indicator uses a Phosphor `CircleIcon` whose weight is driven by the * provider's `iconWeight` axis via {@link useSaasflareProps}. * * @example * */ declare function RadioGroupItem({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; export { RadioGroup, RadioGroupItem, type RadioGroupProps };