UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

28 lines 692 B
import { c as _c } from "react-compiler-runtime"; import { forwardRef } from "react"; import CheckboxCard from "../CheckboxCard/CheckboxCard.js"; import { jsx as _jsx } from "react/jsx-runtime"; /** * Alias for `<CheckboxCard type="radio">` * * @see https://bifrost.intility.com/react/radiocard */ const RadioCard = /*#__PURE__*/forwardRef((props, ref) => { const $ = _c(3); let t0; if ($[0] !== props || $[1] !== ref) { t0 = /*#__PURE__*/_jsx(CheckboxCard, { ...props, ref: ref, type: "radio" }); $[0] = props; $[1] = ref; $[2] = t0; } else { t0 = $[2]; } return t0; }); RadioCard.displayName = "RadioCard"; export default RadioCard;