🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@rn-components-kit/divider

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rn-components-kit/divider

Dividers are visual separators of content.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Divider

NPM version

English | 中文

Dividers are visual separators of content. It supports two orientations: horizontal and vertical.

How to use

npm install @rn-components-kit/divider --save
PreviewCode
Demo1 Code
Demo2 Code

Props

Reference

Props

style

Allow you to customize style

TypeRequiredDefault
objectno-

color

Determines the divider's color

TypeRequiredDefault
stringno'#DFDFDF'

orientation

Determines the divider's orientation

TypeRequiredDefault
enum('horizontal', 'vertical')no'horizontal'

margin

Space between two sides on cross axis

TypeRequiredDefault
numberno0

padding

Space inside two sides on main axis

TypeRequiredDefault
numberno0

Keywords

react-native

FAQs

Package last updated on 25 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts