Skip to content

About

React-Native package that Normalize size of any element across different devices

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

react-native-normalized-size

normalizing size of elements across different devices.

Installation

npm install react-native-normalized-size

Usage

import normalizedSize from 'react-native-normalized-size';
import { Text } from 'react-native';

// ...

const MyComponent = () => {
    return (
        <Text
            style={{
                fontSize: normalizedSize(20),
            }}>
            My Component
        </Text>
    );
};

Output View

Screenshot 2024-06-27 at 10 11 43

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


About

React-Native package that Normalize size of any element across different devices

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages