https://github.com/samuelcust/react-native-component-separator
A separator component for React Native
https://github.com/samuelcust/react-native-component-separator
component react-native
Last synced: 2 months ago
JSON representation
A separator component for React Native
- Host: GitHub
- URL: https://github.com/samuelcust/react-native-component-separator
- Owner: samuelcust
- License: mit
- Created: 2019-09-24T18:40:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:47:03.000Z (over 3 years ago)
- Last Synced: 2025-03-18T13:11:24.622Z (over 1 year ago)
- Topics: component, react-native
- Language: Objective-C
- Size: 1.34 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-component-separator
A separator component for React Native

## Install
```shell
yarn add react-native-component-separator
# or
npm install react-native-component-separator --save
```
## Usage
```javascript
import { Left } from 'react-native-component-separator';
Example;
```
## Props
| Prop | Type | default | Description |
| ------------- | ----------------------------- | ----------------- | -------------------------------------------------------------- |
| `borderColor` | String | `#e0e0e0` | line color |
| `color` | String | `#616161` | font color |
### How to start developing?
1. `cd example`
2. `yarn install`
3. `npm link ../`
4. `yarn run storybook`
5. `react-native run-android`