Closed Kirbo closed 1 year ago
@1uokun could you spend some time fixing this problem for all components that accept children
?
TabBar
still needs to have children
added to its type declaration@1uokun could you spend some time fixing this problem for all components that accept
children
?
- fix: type error on React 18 #1257 was a similar PR, but only fixed 3 components
- I've noticed that
TabBar
still needs to havechildren
added to its type declaration
fixed: https://github.com/ant-design/ant-design-mobile-rn/commit/0d08b6bfe90f923f14155734979e551815ee9b0b
This PR adds the ability to pass a React element into the Tabs element. For example :