Skip to content

Commit

Permalink
feat(project): add layout component to home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
RCVZ committed Apr 29, 2021
1 parent 82a066a commit c4057f3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/screens/Home/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import React from 'react';

import Header from '../../components/Header/Header';

import styles from './Home.module.scss';
import Layout from '../../components/Layout/Layout';

type HomeProps = {
dummy?: string;
};

const Home: React.FC<HomeProps> = ({ dummy = 'defaultValue' }: HomeProps) => {
const Home: React.FC<HomeProps> = ({ dummy = 'defaultValue' }) => {
return (
<div className={styles.Home}>
<Header></Header>
<p style={{ color: 'white' }}>{dummy}</p>
</div>
<Layout>
<p>{dummy}</p>
</Layout>
);
};

Expand Down

0 comments on commit c4057f3

Please sign in to comment.