HomeCheckList.js
931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import React from "react";
import styled from "styled-components";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faCheckCircle } from "@fortawesome/free-solid-svg-icons";
const CheckListBox = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 50%;
background-color: white;
opacity: 0.8;
border-radius: 10px;
`;
const ElementBox = styled.div`
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
`;
const IconBox = styled.div`
svg {
font-size: 15px;
}
`;
const ListContentBox = styled.div`
font-size: 15px;
`;
export default () => {
return (
<CheckListBox>
<ElementBox>
<IconBox>
<FontAwesomeIcon icon={faCheckCircle} />
</IconBox>
<ListContentBox>Check List One</ListContentBox>
</ElementBox>
</CheckListBox>
);
};