2.0.2 • Published 3 years ago

rn-dividers v2.0.2

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

rn-dividers

Divider component for react-natives

Install

yarn add rn-dividers
// or
npm install rn-dividers --save

usage

import Divider from 'rn-dividers';

<Divider>Divider</Divider>;

default

Props

PropTypedefaultDescription
dashedBooleanfalsewhether line is dashed
orientationenum: left center rightleftthis is optional, if not set it will have the text in the left
borderColorString#e8e8e8line color
colorStringrgba(0,0,0,.85)font color

example:

import Divider from 'rn-dividers';

<Divider borderColor="#fff" color="#fff" orientation="center">
    Divider
</Divider>;

color