Skip to content

Commit c9a18a5

Browse files
authored
V6 migration guide (#1558)
1 parent 0be442b commit c9a18a5

File tree

1 file changed

+75
-0
lines changed
  • markdowns/getting-started

1 file changed

+75
-0
lines changed

markdowns/getting-started/v6.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
index: 4
3+
path: "/getting-started/v6"
4+
title: "v6"
5+
---
6+
7+
8+
### Presets
9+
10+
#### Colors
11+
Update colors palette to more accessible ones.
12+
Renamed dark preset (dark10, dark20, ...) to grey (grey10, grey20, ...)
13+
14+
### Components
15+
16+
#### Typings
17+
Various components typings were renamed ('ComponentPropTypes' is now 'ComponentProps')
18+
19+
#### SelectableComponent
20+
Component was removed
21+
22+
#### AnimationManager
23+
Service was removed
24+
25+
#### TagsInput
26+
Component was removed, please use `ChipsInput` instead
27+
28+
#### ThemeManager
29+
`ThemeManager.setTheme` api was removed
30+
31+
#### Avatar
32+
- `isOnline` removed (use badgeProps instead)
33+
- `status` removed (use badgeProps instead)
34+
35+
#### Badge
36+
- `animationProps` (please wrap with your own animated view)
37+
- `testId` (renamed `testID`)
38+
- `size` will not accept enum 'BADGE_SIZES' anymore, pass number instead
39+
40+
#### Card.Image
41+
- `imageSource` (renamed `source`)
42+
- `borderRadius` (should be pass to Card component)
43+
44+
#### PanningProviderDirection
45+
Renamed `PanningDirection`
46+
47+
#### KeyboardTrackingView
48+
`useSafeArea` prop default value changed to `false`.
49+
50+
#### react-native-animatable
51+
Dependency was removed
52+
53+
#### Stepper
54+
New design and API.
55+
56+
#### ProgressBar
57+
New design and API.
58+
59+
#### Dialog
60+
`onModalDismissed` removed, use 'onDialogDismissed' instead
61+
62+
#### CardSection
63+
Removed `source`, use `imageSource`
64+
65+
#### StateScreen
66+
- Removed `source`, use `imageSource` instead
67+
- Removed `testId`, use `testID`
68+
69+
#### TabBarItem
70+
Removed `badge`, use `badgeProps` instead
71+
72+
#### TabController
73+
- The component has been re-implemented using reanimated v2
74+
- `TabController.TabBar` `childrend` props is not supported anymore, pass `items` to `TabController` instead
75+
- `Incubator.TabController` removed

0 commit comments

Comments
 (0)