@twopm/restack
v0.1.1
Published
SwiftUI inspired layout library for React
Downloads
7
Maintainers
Readme
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.