Set up API spec and basic components
This commit is contained in:
parent
2adecd13f7
commit
61bd31eb7e
20 changed files with 353 additions and 26 deletions
5
frontend/src/components/Content/Content.module.scss
Normal file
5
frontend/src/components/Content/Content.module.scss
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.content {
|
||||
width: 600px;
|
||||
margin: 20px auto;
|
||||
max-width: calc(100% - 60px);
|
||||
}
|
||||
10
frontend/src/components/Content/Content.tsx
Normal file
10
frontend/src/components/Content/Content.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import styles from './Content.module.scss'
|
||||
|
||||
interface ContentProps {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
const Content = (props: ContentProps) =>
|
||||
<div className={styles.content} {...props} />
|
||||
|
||||
export default Content
|
||||
Loading…
Add table
Add a link
Reference in a new issue