yd-react-native-divider
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

React Native Divider

npm

React Native Divider is a component that show a simple configurable divider for React Native.

Installation

npm install yd-react-native-divider

Getting started with React Native Divider

Here is an example of a basic app using React Native Divider:

import Divider from "yd-react-native-divider";

<Divider />
<Divider text={"OR"} />
<Divider width={10} text={"yes"} />
<Divider width={6} text={"NO"} textColor={"red"} margin={10} />
<Divider color={"#000"} text={"ONE"} />
<Divider color={"green"} width={3} text={"step 1"} textColor={"#FFF"} />
<Divider color={"#D4D4D4"} width={3} text={"step 2"} margin={50} />

examples

React Native Divider Props

Props Description isRequire default
color string No "#DDD"
width number No 1
textColor string No "#DDD"
margin number No 5
text string No null

Buy me a coffee

if you are interested to see more features please help me with a cup a coffee.

Get it on Google Play

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i yd-react-native-divider

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.47 kB

    Total Files

    4

    Last publish

    Collaborators

    • yamildiego