react-native-box-component

A box comopnent for react-native.

Usage no npm install needed!

<script type="module">
  import reactNativeBoxComponent from 'https://cdn.skypack.dev/react-native-box-component';
</script>

README

react-native-box-component

A box component for react-native.

Installation

Using npm :

npm install react-native-box-component

Using yarn :

yarn add react-native-box-component

Usage :


const App = () => {
  return <Box
  flexDirection="row"
  justifyContent="center"
  alignItems="center"
  marginTop={16}
  >{children}</Box>;
};