1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-23 20:14:21 +00:00
bluelib/src/components/Split/Readme.md

49 lines
764 B
Markdown
Raw Normal View History

2021-01-25 18:37:58 +00:00
A **panel** which splits horizontally the contained panels into multiple columns of the same size (if possible).
```jsx
import Bluelib from "../Bluelib";
2021-01-29 03:53:41 +00:00
import Box from "../Box";
2021-01-25 18:37:58 +00:00
<Bluelib>
<Box>
1 / 1
</Box>
<Split>
<Box>
1 / 2
</Box>
<Box>
2 / 2
</Box>
</Split>
<Split>
<Box>
1 / 3
</Box>
<Box>
2 / 3
</Box>
<Box>
3 / 3
</Box>
</Split>
<Split>
<Box>
1 / 4
</Box>
<Box>
2 / 4
</Box>
<Box>
3 / 4
</Box>
<Box>
4 / 4
</Box>
</Split>
</Bluelib>
```