Skip to content

Commit 331f98c

Browse files
committed
docs: add expo snack demo project
build: upgrade version
1 parent 0a64098 commit 331f98c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ yarn add react-native-responsive-scalability
245245

246246
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
247247

248-
For a more complex example, please take a look at my another project. https://github.com/chsdwn/FreeToGameApp
248+
For interactive demo: https://snack.expo.dev/@chsdwn/responsive-scalability-example
249+
250+
For a more complex example, please take a look at my demo project. https://github.com/chsdwn/FreeToGameApp
249251

250252
<p align="right">(<a href="#title">back to top</a>)</p>
251253

@@ -344,7 +346,7 @@ The `useScale` hook returns scale utility functions `scaleByHeight` and `scaleBy
344346
import React from 'react';
345347
import { useScale } from 'react-native-responsive-scalability';
346348

347-
const size = 10;
349+
const size = 16;
348350

349351
export const Home = () => {
350352
const { scaleByHeight, scaleByWidth } = useScale();

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-responsive-scalability",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "The package provides utility hooks that help React Native developers create responsive, cross-platform applications that are aware of orientation changes.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)