Showing
1 changed file
with
10 additions
and
1 deletions
1 | import React from 'react'; | 1 | import React from 'react'; |
2 | +import styled from 'styled-components'; | ||
3 | + | ||
4 | +const Main = styled.div` | ||
5 | + width: 100%; | ||
6 | +`; | ||
2 | 7 | ||
3 | const Home = () => { | 8 | const Home = () => { |
4 | - return <div>Home</div>; | 9 | + return ( |
10 | + <> | ||
11 | + <Main>Home</Main> | ||
12 | + </> | ||
13 | + ); | ||
5 | }; | 14 | }; |
6 | 15 | ||
7 | export default Home; | 16 | export default Home; | ... | ... |
-
Please register or login to post a comment