File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { TextStyle , TouchableOpacityProps , ViewStyle } from 'react-native' ;
2+ import {
3+ StyleProp ,
4+ TextStyle ,
5+ TouchableOpacityProps ,
6+ ViewStyle
7+ } from 'react-native' ;
38
49export type ReactChildren = React . ReactNode ;
510
@@ -81,10 +86,10 @@ export type BaseToastProps = {
8186 text2 ?: string ;
8287 onPress ?: ( ) => void ;
8388 activeOpacity ?: number ;
84- style ?: ViewStyle ;
89+ style ?: StyleProp < ViewStyle > ;
8590 touchableContainerProps ?: TouchableOpacityProps ;
86- contentContainerStyle ?: ViewStyle ;
87- contentContainerProps ?: ViewStyle ;
91+ contentContainerStyle ?: StyleProp < ViewStyle > ;
92+ contentContainerProps ?: StyleProp < ViewStyle > ;
8893 text1Style ?: TextStyle ;
8994 text1NumberOfLines ?: number ;
9095 text1Props ?: TextStyle ;
You can’t perform that action at this time.
0 commit comments