@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
32 lines (31 loc) • 624 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { composeStyles, createStyles } from "@crossed/styled";
import { Box } from "./Box";
import { forwardRef } from "react";
const useXBox = createStyles(
() => ({
root: {
base: {
display: "flex",
flexDirection: "row",
flexBasis: "auto"
}
}
})
);
const XBox = forwardRef(({ style, ...props }, ref) => {
return /* @__PURE__ */ jsx(
Box,
{
ref,
justifyContent: "start",
...props,
style: composeStyles(useXBox.root, style)
}
);
});
export {
XBox,
useXBox
};
//# sourceMappingURL=XBox.js.map