JSPM

react-native-hr-plus

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q42817F
  • License ISC

Configurable HR component for your React Native app

Package Exports

  • react-native-hr-plus

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-hr-plus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Hr Plus

Hr component which you can use for awesome login/register screens

PremiumReact

Installation

NPM

npm install react-native-hr-plus --save

Yarn

yarn add react-native-hr-plus

Usage

import Hr from "react-native-hr-plus";

<Hr text="OR" color="white" padding={20} width={1} textStyle={styles.textWithDivider}/>

Properties

Prop Default Type Description
text "" string Text to show in the middle
color "white" color Color for the border on both sides
padding 10 number Padding on both sides of the text
width 1 number Width of the hr
textStyle object style Style object for the text

Contributing

If you would like to improve on this module feel free to do so