Files
xrpl-hooks-ide/components/Flex.tsx
2022-01-05 16:32:07 +05:30

26 lines
373 B
TypeScript

import { styled } from "../stitches.config";
import Box from "./Box";
const Flex = styled(Box, {
display: "flex",
variants: {
row: {
true: {
flexDirection: "row",
},
},
column: {
true: {
flexDirection: "column",
},
},
fluid: {
true: {
width: '100%'
}
}
},
});
export default Flex;