@crossed/primitive
Version:
A universal & performant styling library for React Native, Next.js & React
14 lines (13 loc) • 362 B
JavaScript
"use client";
import { jsx } from "react/jsx-runtime";
import { memo } from "react";
import { RemoveScroll as RS } from "react-remove-scroll";
const RemoveScroll = memo((props) => {
if (!(props == null ? void 0 : props.children))
return null;
return /* @__PURE__ */ jsx(RS, { ...props });
});
export {
RemoveScroll
};
//# sourceMappingURL=index.js.map