An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# react-native-component-separator
A separator component for React Native

![left-component](https://raw.githubusercontent.com/samuelcust/react-native-component-separator/master/example/images/left-component.png)

## 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`