@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
26 lines (25 loc) • 629 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { forwardRef, memo } from "react";
import { Box } from "../../layout";
import { composeStyles, inlineStyle } from "@crossed/styled";
import { styles } from "./styles";
const SheetPadded = memo(
forwardRef(({ fullHeight, ...props }, ref) => {
return /* @__PURE__ */ jsx(
Box,
{
...props,
ref,
style: composeStyles(
styles.containerPadded,
fullHeight && inlineStyle(() => ({ base: { height: "100%" } })),
props.style
)
}
);
})
);
export {
SheetPadded
};
//# sourceMappingURL=Padded.js.map