Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Oct 3, 2024
1 parent 73a404e commit b566919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/one-tamagui/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { Image } from '@tamagui/image-next'
import { Text, YStack } from 'tamagui'
import oneBall from '~/public/app-icon.png'

export default function HomePage() {
export function HomePage() {
return (
<YStack gap="$4" ai="center" jc="center" f={1}>
<Text fontSize={20}>Hello, world</Text>
<Image src={oneBall} width={128} height={128} />
<Image src={oneBall} style={{ width: 128, height: 128 }} width={128} height={128} />
</YStack>
)
}

0 comments on commit b566919

Please sign in to comment.