You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proptype for containerstyle does not accept an array, although it works, is it possible to adapt it so that also arrays are accepted for container style?
Warning: Failed prop type: Invalid prop containerStyle of type array supplied to ActionSheet, expected object.
in ActionSheet (at DropdownSheet.js:21)
in DropdownSheet (at ServiceTimesPage.js:73)
The text was updated successfully, but these errors were encountered:
Hello,
The proptype for containerstyle does not accept an array, although it works, is it possible to adapt it so that also arrays are accepted for container style?
Im doing it like this:
<ActionSheet
ref={actionSheetRef}
containerStyle={[
styles.actionSheetStyle.default,
styles[props.colorMode].actionSheetStyle,
]}>
Warning: Failed prop type: Invalid prop
containerStyle
of typearray
supplied toActionSheet
, expectedobject
.in ActionSheet (at DropdownSheet.js:21)
in DropdownSheet (at ServiceTimesPage.js:73)
The text was updated successfully, but these errors were encountered: