Restack
SwiftUI inspired layouts for React
Install / Use
/learn @bfollington/RestackREADME
<a href=""><img src="https://github.com/bfollington/restack/blob/master/banner.png?raw=true" /></a> <br />
<a href="https://app.netlify.com/sites/restack/deploys"><img src="https://api.netlify.com/api/v1/badges/002db124-6e09-477e-833b-82ef52391196/deploy-status"></a>
Install
yarn add @twopm/restack
Usage
import { VStack } from '@twopm/restack'
const App = () => (
<VStack
horizontal="center"
vertical="distribute-edges"
spacing={10}
>
<p>One</p>
<p>Two</p>
<p>Three</p>
</VStack>
)
See the storybook examples for more or view the live demo.
