UNPKG

@stratakit/bricks

Version:

Small, modular components for StrataKit

22 lines (21 loc) 565 B
import { jsx } from "react/jsx-runtime"; import { Role } from "@ariakit/react/role"; import { forwardRef } from "@stratakit/foundations/secret-internals"; import cx from "classnames"; const Text = forwardRef((props, forwardedRef) => { const { variant, ...rest } = props; return /* @__PURE__ */ jsx( Role, { ...rest, className: cx("\u{1F95D}-text", props.className), "data-kiwi-text-variant": variant, ref: forwardedRef } ); }); DEV: Text.displayName = "Text"; var Text_default = Text; export { Text_default as default };