-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added keyboard auto dimiss to on dismiss method
- Loading branch information
Showing
5 changed files
with
64 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,24 @@ | ||
import { Image, StyleSheet, Platform, View } from 'react-native' | ||
import React from 'react' | ||
import { Image, StyleSheet, Platform, View } from "react-native"; | ||
import React from "react"; | ||
|
||
type Props = {} | ||
type Props = {}; | ||
|
||
const SheetFooter = (props: Props) => { | ||
return ( | ||
<View style={styles.container}> | ||
<Image source={require('../../assets/images/footer_image1.png')} /> | ||
<Image source={require('../../assets/images/footer_image2.png')} /> | ||
<Image source={require("../../assets/images/footer_image1.png")} /> | ||
<Image source={require("../../assets/images/footer_image2.png")} /> | ||
</View> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default SheetFooter | ||
export default SheetFooter; | ||
|
||
const styles = StyleSheet.create({ | ||
container:{ | ||
display: 'flex', | ||
flexDirection: 'row', | ||
justifyContent: 'space-between', | ||
alignItems: 'center', | ||
...Platform.select({ | ||
ios: { | ||
bottom: 48, | ||
}, | ||
android: { | ||
bottom: 32, | ||
} | ||
}), | ||
marginHorizontal: 16, | ||
} | ||
}) | ||
container: { | ||
flexDirection: "row", | ||
justifyContent: "space-between", | ||
alignItems: "center", | ||
marginHorizontal: 16, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters