Skip to content

Commit

Permalink
docs: add expo snack demo project
Browse files Browse the repository at this point in the history
build: upgrade version
  • Loading branch information
chsdwn committed Aug 30, 2023
1 parent 0a64098 commit 331f98c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 331f98c

Please sign in to comment.