1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Restructure some files

This commit is contained in:
Zhiyuan Zheng
2020-12-29 16:19:04 +01:00
parent b92a01e2a4
commit e841409523
18 changed files with 331 additions and 285 deletions

View File

@ -63,7 +63,7 @@ const ToastBase = ({ config }: { config: Config }) => {
<SafeAreaView
style={[
styles.base,
{ backgroundColor: theme.background, shadowColor: theme.primary }
{ backgroundColor: theme.background, borderBottomColor: theme.primary }
]}
>
<View style={styles.container}>
@ -97,15 +97,14 @@ const toastConfig = {
const styles = StyleSheet.create({
base: {
width: '100%',
shadowOpacity: 1,
shadowRadius: 6
borderBottomWidth: 1
},
container: {
flex: 1,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
padding: StyleConstants.Spacing.M
padding: StyleConstants.Spacing.L
},
texts: {
marginLeft: StyleConstants.Spacing.S