Skip to content

Release 1.3.0

Choose a tag to compare

@finkef finkef released this 12 Dec 23:02
· 13 commits to main since this release

Breaking Changes ⚠️

Since replacing react-native-media-query with our own implementation, we moved from data-media to our own data-tw prop in order to avoid clashing. This means, your code needs to be changed to the following:

const styles = useTailwindStyles(tw => ({ /* ... */ }))

- return <View style={styles.box} dataSet={{ media: styles.box.id }} />
+ return <View style={styles.box} dataSet={{ tw: styles.box.id }} />

Changes

  • Merge pull request #5 from finkef/feature/media-queries (2fac7fd)
  • docs: update readme (d98a8a6)
  • feat: handle css media queries internally (40fc17b)
  • feat: implement media queries with web selector support (ec3be84)
  • fix: merge responsive ids for array styles (800a353)
  • chore: upgrade eslint, pin prettier version (0107b11)
  • docs: update toc (6f4d372)