From 2eafa040067e9c16b01b662c9a18e8188c5c547e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCcahit?= <76880536+mucahitdev@users.noreply.github.com> Date: Sun, 15 Oct 2023 01:13:34 +0300 Subject: [PATCH 1/2] docs(readme): usage --- README.md | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) 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) From 2e9eb9373d476be8d2c7ffbc8292e1f0fbaf7aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCcahit?= <76880536+mucahitdev@users.noreply.github.com> Date: Sun, 15 Oct 2023 01:18:18 +0300 Subject: [PATCH 2/2] docs(version): 0.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",