2.0.0 • Published 5 years ago

nanokit-container v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Install

Greenkeeper badge

$ npm install nanokit-container
# OR
$ yarn add nanokit-container

Usage

import {Text} from 'react-native'
import Container from 'nanokit-container'

const Foo = () => <Container />
const Baz = () => <Container center backgroundColor="tomato"><Text>Hi</Text></Container>

Props

In addition to the View PropTypes, some useful shorthand properties are provided:

Contributing

Contributions are welcome!

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or open up a issue.

License

Licensed under the MIT License.