Divider
Simple divider component.
Import
import { Divider } from 'react-native-ficus-ui';
Usage
Horizontal
EDITABLE EXAMPLE
Vertical
EDITABLE EXAMPLE
Custom color
EDITABLE EXAMPLE
Custom size
EDITABLE EXAMPLE
Props
Extends all Box
props, except background properties.
colorScheme
The colorScheme property, will define divider color.
Type | Required | Default |
---|---|---|
string | No | gray |
orientation
The orientation of divider, can be horizontal or vertical.
Type | Required | Default |
---|---|---|
'vertical' 'horizontal' | No | 'horizontal' |
size
Size of divider.
Type | Required |
---|---|
number | No |