@stratakit/react
Version:
A React component library for StrataKit
18 lines (17 loc) • 619 B
JavaScript
import { jsx } from "react/jsx-runtime";
import * as React from "react";
import { VisuallyHidden as SkVisuallyHidden } from "@stratakit/bricks";
import { useCompatProps } from "./~utils.js";
const VisuallyHidden = React.forwardRef((props, forwardedRef) => {
const {
children,
// biome-ignore-start lint/correctness/noUnusedVariables: NOT IMPLEMENTED
unhideOnFocus,
// biome-ignore-end lint/correctness/noUnusedVariables: NOT IMPLEMENTED
...rest
} = useCompatProps(props);
return /* @__PURE__ */ jsx(SkVisuallyHidden, { ...rest, ref: forwardedRef, children });
});
export {
VisuallyHidden
};