github jpudysz/react-native-unistyles v2.3.0
Release 2.3.0

latest releases: v2.12.0, v3.0.0-alpha.36, v3.0.0-alpha.35...
9 months ago

2.3.0 (2024-02-08)

In this release I've brought you support for react-native-windows!
You can now build truly cross-platform desktop apps with Unistyles.

Also, there is one more improvement regarding boolean variants. Previously, if you defined only a true or false variant, they were converted respectively into a true or false string. This could be problematic if your props are of the boolean type. The error would indicate that the variant is expecting either true as a boolean or string. In this version, if you use a single true or false boolean variant, TypeScript will convert it to a generic boolean. Types won't be narrowed down to single values anymore.

Features

  • add windows support
  • add autolonking for windows
  • narrow down boolean variants (543e696)

Don't miss a new react-native-unistyles release

NewReleases is sending notifications on new releases.