Docs
Upgrading from 1.x 2.0
Version 2.0 needs React 19, React Native 0.84+ and Reanimated 4, and removes the APIs deprecated in 1.x. The renames below cover most apps. The guide lists every change with before and after code.
// 1.x // 2.0
useThemeColors() → useColors()
<Button variant="destructive" /> → <Button variant="danger" />
<Card longPressHint="…" /> → <Card accessibilityHint="…" />
<Select selectedValue onValueChange> → <Select value onChange>
typography.amount / amountLarge → typography.mono / monoLarge
Key points
- Requires React 19.2.3, React Native 0.84, Reanimated 4.2.3 and react-native-safe-area-context 5, or newer.
- Every API marked as deprecated in 1.x has been removed.
- The renames above cover most apps: useColors, the danger variant, accessibilityHint and the value and onChange props of Select.
- The upgrade guide in Storybook shows every change with code before and after.