Styled Components Layout Helper Components
This project simplify uses horizontal
, grid
,vertical
and space
styled-components
.
See example/index.tsx.
const App = () => {
return (
<div>
<Horizontal>
<div>Hello</div>
<div>World</div>
</Horizontal>
<hr />
<Vertical>
<div>Goodbye</div>
<div>World</div>
</Vertical>
</div>
);
};
Produces:
yarn install && yarn watch
cd examples && yarn start
See it in browser at http://localhost:1234
yarn run test
👤 Kitze
- Website: https://youtube.com/kitze
- Twitter: @thekitze
- Github: @kitze
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator