Skip to content

Commit 5fc09db

Browse files
committed
declare items prop in TabController
1 parent acd38bd commit 5fc09db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/tabController/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class TabController extends Component {
4848
static contextType = TabBarContext;
4949

5050
static propTypes = {
51+
/**
52+
* The list of tab bar items
53+
*/
54+
items: PropTypes.arrayOf(PropTypes.shape(TabBarItem.propTypes)),
5155
/**
5256
* Initial selected index
5357
*/

0 commit comments

Comments
 (0)