UNPKG

@stratakit/react

Version:

A React component library for StrataKit

12 lines (11 loc) 407 B
import { jsx } from "react/jsx-runtime"; import * as React from "react"; import { Divider as SkDivider } from "@stratakit/bricks"; import { useCompatProps } from "./~utils.js"; const Divider = React.forwardRef((props, forwardedRef) => { const { orientation, ...rest } = useCompatProps(props); return /* @__PURE__ */ jsx(SkDivider, { ...rest, orientation, ref: forwardedRef }); }); export { Divider };