-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkillproTemprorary
40 lines (36 loc) · 1.1 KB
/
SkillproTemprorary
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
import React from "react";
import "./SkillProgression.css";
import { BiChevronRight as IconRight } from "react-icons/bi";
export const SkillProgression = ({
percentValue = "62",
max = "100",
color = "purple",
skillName = "ExampleText",
dayDate = "01",
month = "dayDate",
}) => {
const style = {
"--chartColor": `${color}`,
};
return (
<div style={{ display: "flex", flexDirection: "row", alignItems:"center",justifyContent:"space-around" }}>
<div
style={{
display: "flex",
flexDirection: "column",
textAlign: "center",
}}
>
<span className="skill-progression-dayDate">{dayDate}</span>
<span className="skill-progression-month">{month}</span>
</div>
<div style={{ display: "flex", flexDirection: "column" }}>
<span className="skill-progression-skillname">{skillName}</span>
<progress style={style} value={percentValue} max={max}></progress>
</div>
<div style={{ display: "flex", flexDirection: "column" }}>
<IconRight color="gray" size="2rem" />
</div>
</div>
);
};