<x-view />
: React Native'sView
like element<x-pane />
: Area filled version ofx-view
<x-view style="height: 300px;">
<x-view style="flex: 2; background: gray;">
<x-pane style="color: green;">Pane0</x-pane>
</x-view>
<x-view style="flex: 1;">
<x-view style="flex-direction: row; height: 100%;">
<x-view style="flex: 3; background: #a88;">
<x-pane>Pane1</x-pane>
</x-view>
<x-view style="flex: 1; background: #8a8;">
<x-pane>Pane2</x-pane>
</x-view>
</x-view>
</x-view>
</x-view>
yarn dev
: Start application server onhttp://localhost:1234
yarn build
: Generatedist
yarn test
: Run jestyarn deploy
: Deploy to netlify (need netlify account)
MIT