Skip to content

Commit

Permalink
chore: update template
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Nov 2, 2023
1 parent 32e1703 commit e406583
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions templates/expo/app/Page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import styled, {css} from '@emotion/native';
import styled from '@emotion/native';
import {Typography} from 'dooboo-ui';
import {Stack} from 'expo-router';

import {t} from '../src/STRINGS';

const Container = styled.View`
flex: 1;
align-self: stretch;
Expand All @@ -19,13 +17,9 @@ type Props = {};
export default function Page({}: Props): JSX.Element {
return (
<Container>
<Stack.Screen
options={{
title: t('PAGE'),
}}
/>
<Stack.Screen options={{title: 'Page'}} />
<Content>
<Typography.Body1>{t('PAGE')}</Typography.Body1>
<Typography.Body1>Page</Typography.Body1>
</Content>
</Container>
);
Expand Down
2 changes: 1 addition & 1 deletion templates/expo/uis/UI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Component({style}: Props): JSX.Element {
style,
]}
>
<Icon name="QuestBoxFill" size={14} color={theme.text.disabled} />
<Icon color={theme.text.disabled} name="QuestBoxFill" size={14} />
</Container>
);
}
Expand Down

0 comments on commit e406583

Please sign in to comment.