From 331f98c379378c10b5eef9648a1d78e8b3796b9f Mon Sep 17 00:00:00 2001 From: chsdwn Date: Wed, 30 Aug 2023 15:21:56 +0300 Subject: [PATCH] docs: add expo snack demo project build: upgrade version --- README.md | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index be8c87a..41b9086 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,9 @@ yarn add react-native-responsive-scalability For usage details, please refer to the `src` folder of the example app. https://github.com/chsdwn/react-native-responsive-scalability/tree/main/example/src -For a more complex example, please take a look at my another project. https://github.com/chsdwn/FreeToGameApp +For interactive demo: https://snack.expo.dev/@chsdwn/responsive-scalability-example + +For a more complex example, please take a look at my demo project. https://github.com/chsdwn/FreeToGameApp

(back to top)

@@ -344,7 +346,7 @@ The `useScale` hook returns scale utility functions `scaleByHeight` and `scaleBy import React from 'react'; import { useScale } from 'react-native-responsive-scalability'; -const size = 10; +const size = 16; export const Home = () => { const { scaleByHeight, scaleByWidth } = useScale(); diff --git a/package.json b/package.json index b2a4316..4a730ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-responsive-scalability", - "version": "1.0.2", + "version": "1.0.3", "description": "The package provides utility hooks that help React Native developers create responsive, cross-platform applications that are aware of orientation changes.", "main": "lib/commonjs/index", "module": "lib/module/index",