Skip to content

Commit 4c98ada

Browse files
committed
add missing default props
1 parent 7cfa780 commit 4c98ada

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/interactableComponents/drawer/newDrawer.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import Swipeable from './Swipeable';
1111

1212

1313
const deprecatedProps = ['damping', 'tension', 'onPress', 'equalWidths'];
14+
1415
const DEFAULT_BG = Colors.blue30;
16+
1517
const ITEM_PROP_TYPES = {
1618
width: PropTypes.number,
1719
background: PropTypes.string,
@@ -80,6 +82,10 @@ class NewDrawer extends PureBaseComponent {
8082
useNativeAnimations: PropTypes.bool,
8183
};
8284

85+
static defaultProps = {
86+
itemsTintColor: Colors.white
87+
};
88+
8389
constructor(props) {
8490
super(props);
8591

0 commit comments

Comments
 (0)