Skip to content

yamildiego/react-native-divider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published