Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
duguyihou authored Apr 16, 2024
1 parent 2e27bb5 commit 08a57c4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<img src="https://github.com/duguyihou/react-native-gradient/assets/9347790/b0ecb56f-eb78-4aec-bf2e-0eb38b5a2605" width="393" height="881" />

# react-native-gradient

gradient component for react native
Gradient component for react native

## Installation

Expand All @@ -11,11 +13,11 @@ npm install react-native-gradient
## Usage

```js
import { GradientView } from "react-native-gradient";
import Gradient from "react-native-gradient";

// ...

<GradientView color="tomato" />
<Gradient style={styles.box} colors={['red', 'blue']} />
```

## Contributing
Expand All @@ -25,7 +27,3 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the
## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)

0 comments on commit 08a57c4

Please sign in to comment.