1.6.2 • Published 8 years ago

react-native-item-cell v1.6.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

react-native-item-cell

A React Native default iOS item cell. The cell grows with the inner text.

Install

RN>=0.18 is required for 1.4.x. Install the package:

$ yarn add react-native-item-cell

Install FontAwesome from the awesome Joel Oblador's react-native-vector-icons: https://github.com/oblador/react-native-vector-icons#installation

Usage

<ItemCell>
  Item
</ItemCell>

Prop API

PropTypeDescription
showDisclosureIndicatorboolShows a small arrow at the right side of the cell.
icon{uri: string} object or require()URI to render left icon with an URL for the image source or require for a local image source.
childrenstringThe inner text to render.
subtitlestringAn optional subtitle to render below the children.
valuestringAn optional value to display instead of the disclosure indicator.
backgroundColorstringThe color code of the cell background color.
textStyleText.propTypes.styleThe cell text style.
chevronColorstring color codeThe color code for the disclosure indicator.

License

MIT

Author

Álvaro Medina Ballester

1.6.2

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.0

9 years ago

1.3.3

9 years ago

1.3.2

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago