Skip to content

Commit

Permalink
Merge pull request #2 from HeesuKim0203/dev/typescript
Browse files Browse the repository at this point in the history
Dev/typescript
  • Loading branch information
HeesuKim0203 authored Dec 20, 2023
2 parents e69bcb1 + d83701f commit 33cc823
Show file tree
Hide file tree
Showing 30 changed files with 785 additions and 347 deletions.
291 changes: 283 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@
]
},
"devDependencies": {
"gh-pages": "^6.1.0"
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-helmet": "^6.1.11",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.34",
"gh-pages": "^6.1.0",
"typescript": "^5.2.2"
},
"overrides": {
"typescript": "^5.2.2"
}
}
File renamed without changes.
7 changes: 6 additions & 1 deletion src/Components/Error.js → src/Components/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ const Text = styled.span`
font-weight : 500 ;
`;

const Error = ({ text, color }) => (
type ErrorProps = {
text : string
color : string
}

const Error = ({ text, color } : ErrorProps) => (
<Contanier>
<Text color={color}>{text}</Text>
</Contanier>
Expand Down
Loading

0 comments on commit 33cc823

Please sign in to comment.