react-native-stylehooks:响应式React Native样式变得简单

时间:2024-03-29 00:55:14
【文件属性】:

文件名称:react-native-stylehooks:响应式React Native样式变得简单

文件大小:3MB

文件格式:ZIP

更新时间:2024-03-29 00:55:14

react css react-native style stylesheet

react-native-stylehooks 响应式React Native [Web]样式变得简单。 入门 在您的React Native [Web]应用中运行yarn add react-native-stylehooks 类似于下面的示例使用它 import * as React from 'react' ; import * as ReactDOM from 'react-dom' ; import { View , Text } from 'react-native' ; import { StyleSheet } from 'react-native-stylehooks' ; function App ( ) { const styles = useStyles ( ) ; return ( < View style = { styles . conta


【文件预览】:
react-native-stylehooks-master
----example()
--------package.json(656B)
--------index.html(342B)
--------.npmignore(24B)
--------tsconfig.json(458B)
--------index.tsx(914B)
--------yarn.lock(229KB)
----readme-artwork.gif(2.81MB)
----package.json(1KB)
----LICENSE(1KB)
----src()
--------index.tsx(1KB)
----tsconfig.json(740B)
----.gitignore(108B)
----README.md(2KB)
----yarn.lock(266KB)

网友评论