Skip to content

Commit

Permalink
refactor(main.go): fucked it up again
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayd2020 committed Sep 14, 2023
1 parent beb41fb commit a180fcb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions client/src/components/TestComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
import { Text, View } from 'react-native';

type TestComponentProps =
{
type TestComponentProps = {
name: string;
};

const TestComponent =

({ name }: TestComponentProps) =>

{
const TestComponent = ({ name }: TestComponentProps) => {
return (
<View>
<Text>Hello {name}
</Text>
<Text>Hello {name}</Text>
</View>
);
};
Expand Down

0 comments on commit a180fcb

Please sign in to comment.