Skip to content

Commit e406583

Browse files
committed
chore: update template
1 parent 32e1703 commit e406583

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

templates/expo/app/Page.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import styled, {css} from '@emotion/native';
1+
import styled from '@emotion/native';
22
import {Typography} from 'dooboo-ui';
33
import {Stack} from 'expo-router';
44

5-
import {t} from '../src/STRINGS';
6-
75
const Container = styled.View`
86
flex: 1;
97
align-self: stretch;
@@ -19,13 +17,9 @@ type Props = {};
1917
export default function Page({}: Props): JSX.Element {
2018
return (
2119
<Container>
22-
<Stack.Screen
23-
options={{
24-
title: t('PAGE'),
25-
}}
26-
/>
20+
<Stack.Screen options={{title: 'Page'}} />
2721
<Content>
28-
<Typography.Body1>{t('PAGE')}</Typography.Body1>
22+
<Typography.Body1>Page</Typography.Body1>
2923
</Content>
3024
</Container>
3125
);

templates/expo/uis/UI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function Component({style}: Props): JSX.Element {
2121
style,
2222
]}
2323
>
24-
<Icon name="QuestBoxFill" size={14} color={theme.text.disabled} />
24+
<Icon color={theme.text.disabled} name="QuestBoxFill" size={14} />
2525
</Container>
2626
);
2727
}

0 commit comments

Comments
 (0)