Skip to content

Benji22ben/sapecomponentlibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love License: MIT

SAPE REACT NATIVE COMPONENTS LIBRARY

Welcome to the Sape components library ! 😄

This little project is made to grow with YOUR help ! This component library is licensed under MIT, this means you can help us develop it, or you can develop your own upgrades you think could help the community.   You want to contribute to the project ? Read here how to

Installation

To install SRNC run

npm install sape-react-native-components

 

Usage

You just need to import component from our library

import {
  Button,
  TouchableOpacity,
  TouchableHighlight,
} from "/react-native-library";

 

Touchables components

<TouchableOpacity />
// and
<TouchableHighlight />

 

invertedColors

Invert the original colors of the component to create contrast Example :

<TouchableOpacity invertedColors />

 

text

Adds a text easily Example :

<TouchableHighlight text="YOUR_TEXT" />

  You can also use all props from the original React Native component TouchableOpacity or TouchableHighlight