ar-design
Version:
AR Design is a (react | nextjs) ui library.
13 lines (12 loc) • 378 B
JavaScript
import React from "react";
const Box = ({ children, direction = "flex-start", }) => {
return (React.createElement("div", { style: {
display: "flex",
flexDirection: "row",
flexWrap: "nowrap",
justifyContent: direction,
alignItems: "center",
gap: ".5rem",
} }, children));
};
export default Box;