diff --git a/README.md b/README.md index 3b9cd79..a53d5e0 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,42 @@ Bringing the web's reset CSS experience to React Native for a consistent mobile ```sh npm install react-native-reset-css + +or + +yarn add react-native-reset-css ``` ## Usage +### Basic Usage + +#### 1. Import the `reset` function + ```js -import { multiply } from 'react-native-reset-css'; +import { customizeView } from 'react-native-reset-css'; + +or; -// ... +import Customizer from 'react-native-reset-css'; +``` + +#### 2. Customize your Component -const result = await multiply(3, 7); +```js +customizeView({ + style: { + backgroundColor: 'blue', + }, +}); + +or; + +Customizer.View({ + style: { + backgroundColor: 'yellow', + }, +}); ``` ## Contributing @@ -25,7 +51,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) diff --git a/package.json b/package.json index 30041bf..207c119 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-reset-css", - "version": "0.1.0", + "version": "0.2.0", "description": "Bringing the web's reset CSS experience to React Native for a consistent mobile UI", "main": "lib/commonjs/index", "module": "lib/module/index",