# react-native-linear-gradient-button

> A react-native package for linear gradient button

Latest version **1.2.6** (published 2022-05-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-linear-gradient-button
pnpm add react-native-linear-gradient-button
yarn add react-native-linear-gradient-button
bun add react-native-linear-gradient-button
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.6 |
| Published | 2022-05-05 |
| First published | 2022-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 138.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Venom Kage/ Vipin Kumar |
| Maintainers | venomkage |
| Keywords | react-native-gradient-button, react-native-linear-gradient-button, react-native-linear-gradient, react, react-native, gradient-button |

## Links

- npm: https://www.npmjs.com/package/react-native-linear-gradient-button
- Repository: https://github.com/venomkage/react-native-linear-gradient-button
- Homepage: https://github.com/venomkage/react-native-linear-gradient-button#readme
- Issues: https://github.com/venomkage/react-native-linear-gradient-button/issues
- npm.io page: https://npm.io/package/react-native-linear-gradient-button

## Dependencies (1)

- [react-native-linear-gradient](https://npm.io/package/react-native-linear-gradient.md) ^2.5.6

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.2.6 (latest) — 2022-05-05
- 1.2.3 — 2022-05-04
- 1.2.0 — 2022-05-04
- 1.0.8 — 2022-05-04
- 1.0.5 — 2022-05-04
- 1.0.2 — 2022-05-04

## README

# React Native Linear Gradient Button

This package is built upon react-native-linear-gradient. So if any error occurs then make sure react-native-linear-gradient is installed properly.

- Installing this package requires [react-native-linear-gradient]('https://www.npmjs.com/package/react-native-linear-gradient') to be installed already.

- For ios, don't forget to run pod install inside ios folder

- Enter the param values and enjoy.

# Example

```
//importing the GradientButton
import GradientButton from 'react-native-linear-gradient-button';

const App = () => {
  return (
      <GradientButton
        text={'Press Me'}
        onPress={() => console.log('Pressed')}
        color1="Black"
        color2={'white'}
        fontSize={15}
        fontFamily={'Roboto'}
      />
  );
};

```

![Example Image](/example.png)

---
_Source: https://npm.io/package/react-native-linear-gradient-button · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
