1
1
/**
2
- * Completeness Sidebar
3
- * Shows level of completeness through skill
2
+ * Progress Sidebar
3
+ * Shows level of progress through skill
4
4
* input process and contains a button for
5
5
* searching for users or submitting the job.
6
6
*/
7
7
import Button from "components/Button" ;
8
8
import React from "react" ;
9
9
import cn from "classnames" ;
10
10
import PT from "prop-types" ;
11
- import CompleteProgress from "../CompleteProgress " ;
11
+ import ProgressBar from "../ProgressBar " ;
12
12
import "./styles.module.scss" ;
13
13
import IconMultipleActionsCheck from "../../../../assets/images/icon-multiple-actions-check-2.svg" ;
14
14
import IconListQuill from "../../../../assets/images/icon-list-quill.svg" ;
15
15
import IconOfficeFileText from "../../../../assets/images/icon-office-file-text.svg" ;
16
16
17
- function Completeness ( {
17
+ function Progress ( {
18
18
extraStyleName,
19
19
isDisabled,
20
20
onClick,
@@ -23,7 +23,7 @@ function Completeness({
23
23
percentage,
24
24
} ) {
25
25
26
- let backgroundIcon
26
+ let backgroundIcon
27
27
if ( extraStyleName === "input-skills" ) {
28
28
backgroundIcon = < IconListQuill styleName = "transparent-icon" />
29
29
} else if ( extraStyleName === "input-job-description" ) {
@@ -33,8 +33,8 @@ function Completeness({
33
33
}
34
34
35
35
return (
36
- < div styleName = { cn ( "completeness " , extraStyleName ) } >
37
- < CompleteProgress percentDone = { percentage } />
36
+ < div styleName = { cn ( "progress " , extraStyleName ) } >
37
+ < ProgressBar percentDone = { percentage } />
38
38
< ul styleName = "list" >
39
39
{ stages . map ( ( stage ) => (
40
40
< li
@@ -60,7 +60,7 @@ function Completeness({
60
60
) ;
61
61
}
62
62
63
- Completeness . propTypes = {
63
+ Progress . propTypes = {
64
64
extraStyleName : PT . string ,
65
65
isDisabled : PT . bool ,
66
66
onClick : PT . func ,
@@ -69,4 +69,4 @@ Completeness.propTypes = {
69
69
stages : PT . arrayOf ( PT . string ) ,
70
70
} ;
71
71
72
- export default Completeness ;
72
+ export default Progress ;
0 commit comments