0.0.3 • Published 1 year ago

react-native-div-layout v0.0.3

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Installation

To install the React Native Div Layout package, you can use the following command:

npm install react-native-div-layout

Usage

Once you have installed the package, you can start using it in your React Native application by importing it like this:

import { Div } from 'react-native-div-layout';

After that, you can use the Div component in your JSX code like any other React Native component. However, unlike other components, the Div component comes with a set of utility props that you can use to customize its appearance.

Here are some examples of the utility props that are available:

<Div bg="red">
  <Text>Hello, world!</Text>
</Div>

Components and Props

Div

The Div component is a wrapper component that can be used to apply styles to child components. The following props can be used with the Div component:

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago