UNPKG

@stratakit/bricks

Version:

Small, modular components for StrataKit

21 lines (20 loc) 533 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 VisuallyHidden = forwardRef( (props, forwardedRef) => { return /* @__PURE__ */ jsx( Role.span, { ...props, className: cx("\u{1F95D}-visually-hidden", props.className), ref: forwardedRef } ); } ); var VisuallyHidden_default = VisuallyHidden; export { VisuallyHidden_default as default };