"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import { InputToggle } from "./InputToggle.js";
/**
 * **Client Component**
 *
 * You'll generally want to use the `useRadioGroup` hook along with this
 * component.
 *
 * @example Simple Example
 * ```tsx
 * const { value, getRadioProps } = useRadioGroup({ name: "group" });
 *
 * return (
 *   <>
 *     <Radio {...getRadioProps("a")} label="First" />
 *     <Radio {...getRadioProps("b")} label="Second" />
 *     <Radio {...getRadioProps("c")} label="Third" />
 *   </>
 * );
 * ```
 *
 * @see {@link https://react-md.dev/components/radio | Radio Demos}
 */ export const Radio = /*#__PURE__*/ forwardRef(function Radio(props, ref) {
    return /*#__PURE__*/ _jsx(InputToggle, {
        ...props,
        ref: ref,
        type: "radio"
    });
});

//# sourceMappingURL=Radio.js.map