react-native-button-paper
v1.0.7
Published
React native Custon Button only use for me
Downloads
9
Readme
Custom Paper My Button
React native Custon Button only use for me
Installation
Install my-project with npm
npm install react-native-button-paper
OR
yarn install react-native-button-paper
Basic Example
import React, { Component } from "react";
import { View, Text, StyleSheet } from "react-native";
import { Button } from "react-native-paper";
import Buttononpaper from "react-native-button-paper";
// create a component
const Button = () => {
return (
<Buttononpaper
title={"Npm Button"}
height={100}
width={100}
bgcolor={"#4285F4"}
borderRadius={8}
buttonicon={"check-circle"}
buttonmode={"text"}
labelcolor={"#fff"}
titleColor={"#fff"}
titleFronsize={12}
onPress={() => {
console.log("successfull");
}}
/>
);
};