7
Bringing the web's reset CSS experience to React Native for a consistent mobile...
source link: https://reactnativeexample.com/bringing-the-webs-reset-css-experience-to-react-native-for-a-consistent-mobile-ui/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Bringing the web's reset CSS experience to React Native for a consistent mobile UI
Nov 26, 2023
1 min read
react-native-reset-css
Bringing the web's reset CSS experience to React Native for a consistent mobile UI
Installation
npm install react-native-reset-css
or
yarn add react-native-reset-css
Usage
Basic Usage
1. Import the reset
function
import { customizeView } from 'react-native-reset-css';
or;
import Customizer from 'react-native-reset-css';
2. Customize your Component
customizeView({
style: {
backgroundColor: 'blue',
},
});
or;
Customizer.View({
style: {
backgroundColor: 'yellow',
},
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
GitHub
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK