Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR reorganizes and expands the README documentation for react-native-css, providing clearer setup instructions and comprehensive usage examples. The changes improve the organization of bundler setup instructions and add extensive documentation for CSS variables and optimizations.
- Restructured Metro setup section to separate Expo and non-Expo projects
- Added new usage examples including styled components and updated hook examples
- Added comprehensive sections on CSS variables and performance optimizations
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| const Box = useCssElement(View, { | ||
| className: "box", |
There was a problem hiding this comment.
The Box component uses className 'box' but previously used 'container' which was incorrect. This change fixes the inconsistency with the expected usage pattern.
| return ( | ||
| <MyView className="container"> | ||
| <MyView className="box" /> | ||
| </View> |
There was a problem hiding this comment.
Line 120 should use </MyView> closing tag instead of </View> to match the opening <MyView> tag on line 118.
| </View> | |
| </MyView> |
| #### `useNativeCssStyle` | ||
|
|
||
| If you just require the style object, you can use the `useNativeCssStyle` hook: | ||
| If you just require the style object, you can use the `useNativeCssStyle` hook |
There was a problem hiding this comment.
Missing colon at the end of the sentence. Should be 'you can use the useNativeCssStyle hook:'
| If you just require the style object, you can use the `useNativeCssStyle` hook | |
| If you just require the style object, you can use the `useNativeCssStyle` hook: |
Merge activity
|

No description provided.