5.0.0
版本发布时间: 2022-03-28 18:30:25
ant-design/ant-design-mobile-rn最新发布版本:5.2.3(2024-09-09 20:07:59)
2022-03-28
- 🔥
Expo
andreact-native-web
support #1220 - Checkbox & Radio
- Refactor Switch
- 🆕 Switch add (
loading
checkedChildren
unCheckedChildren
) new props - 🆕 Switch support (
trackColor
thumbColor
thumbTintColor
) native props #507 - 🆕 Switch support
styles
prop to custom style
- 🆕 Switch add (
-
Toast
- 🆕
content
's type supportReact.ReactNode
@iShawnWang - 🐞 Fix the
onClose
callback not called when removeAll @erichua23
- 🆕
-
Carousel
- 🔥 Refactor Carousel with remove dependence
react-native-pager-view
@1uokun - 💄 Carousel extends by
ScrollView {pagingEnabled}
to support web
- 🔥 Refactor Carousel with remove dependence
- 🔥 Refactor Tabs with remove dependence
react-native-pager-view
and extends byCarousel
- 💄 ActionSheet create
index.native.tsx
to differentiateweb
andnative
Platform #1219 - 🐞 Fix Flex support
flex
value 0 inFlex.Item
@laoxubuer
- 🔥 全面支持
Expo
和react-native-web
#1220 - 重构 Checkbox & Radio
- 重构 Switch
- 🆕 Switch新增 (
loading
checkedChildren
unCheckedChildren
) 属性支持 - 🆕 Switch新增 (
trackColor
thumbColor
thumbTintColor
) 原生属性支持 #507 - 🆕 Switch 新增
styles
属性已自定义样式
- 🆕 Switch新增 (
-
Toast
- 🆕 Toast
content
属性类型新增React.ReactNode
@iShawnWang - 🐞 修复
Toast.removeAll
调用后无法回调onClose
bug @erichua23
- 🆕 Toast
-
Carousel
- 🔥 重构Carousel,移除
react-native-pager-view
依赖 @1uokun - 💄 Carousel基于
ScrollView {pagingEnabled}
开发以支持web
端
- 🔥 重构Carousel,移除
- 🔥 重构Tabs,移除
react-native-pager-view
依赖,基于Carousel
开发 - 💄 ActionSheet 创建
index.native.tsx
文件以此区分web
端和native
端 #1219 - 🐞 修复 Flex
Flex.Item
组件flex
属性不能为 0 bug @laoxubuer