UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

13 lines (12 loc) 424 B
import { jsx as _jsx } from "react/jsx-runtime"; import { forwardRef } from "react"; import CheckboxCard from "../CheckboxCard/CheckboxCard.js"; /** * Alias for `<CheckboxCard type="switch">` */ const SwitchCard = /*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ _jsx(CheckboxCard, { ...props, ref: ref, type: "switch" })); SwitchCard.displayName = "SwitchCard"; export default SwitchCard;