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
4
frontend/src/components/Paragraph/Paragraph.module.scss
Normal file
4
frontend/src/components/Paragraph/Paragraph.module.scss
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.p {
|
||||
font-weight: 500;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
10
frontend/src/components/Paragraph/Paragraph.tsx
Normal file
10
frontend/src/components/Paragraph/Paragraph.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import styles from './Paragraph.module.scss'
|
||||
|
||||
interface ParagraphProps {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
const Paragraph = (props: ParagraphProps) =>
|
||||
<p className={styles.p} {...props} />
|
||||
|
||||
export default Paragraph
|
||||
Loading…
Add table
Add a link
Reference in a new issue