rm stylesheet
This commit is contained in:
@@ -3,7 +3,6 @@ import {
|
|||||||
ScrollView,
|
ScrollView,
|
||||||
type ScrollViewProps,
|
type ScrollViewProps,
|
||||||
type StyleProp,
|
type StyleProp,
|
||||||
StyleSheet,
|
|
||||||
View,
|
View,
|
||||||
type ViewProps,
|
type ViewProps,
|
||||||
type ViewStyle,
|
type ViewStyle,
|
||||||
@@ -84,7 +83,7 @@ export const Content = memo(
|
|||||||
automaticallyAdjustsScrollIndicatorInsets={false}
|
automaticallyAdjustsScrollIndicatorInsets={false}
|
||||||
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
|
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
|
||||||
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
|
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
|
||||||
style={[scrollViewStyles.common, style]}
|
style={[a.w_full, style]}
|
||||||
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
||||||
contentContainerStyle={[
|
contentContainerStyle={[
|
||||||
!IS_IOS && {paddingBottom: footerHeight},
|
!IS_IOS && {paddingBottom: footerHeight},
|
||||||
@@ -103,12 +102,6 @@ export const Content = memo(
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
const scrollViewStyles = StyleSheet.create({
|
|
||||||
common: {
|
|
||||||
width: '100%',
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
export type KeyboardAwareContentProps = KeyboardAwareScrollViewProps & {
|
export type KeyboardAwareContentProps = KeyboardAwareScrollViewProps & {
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
contentContainerStyle?: StyleProp<ViewStyle>
|
contentContainerStyle?: StyleProp<ViewStyle>
|
||||||
|
|||||||
Reference in New Issue
Block a user