-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3296bd8
commit e0a57cf
Showing
5 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import * as styles from './styles'; | ||
|
||
const ProgressBar: React.FC = () => { | ||
|
||
return ( | ||
<styles.ProgressBarContainer> | ||
<styles.ProgressBarFiller progress={20}> | ||
|
||
</styles.ProgressBarFiller> | ||
</styles.ProgressBarContainer> | ||
) | ||
|
||
} | ||
|
||
export default ProgressBar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import styled from 'styled-components'; | ||
import COLORS from '@/styles/colors'; | ||
|
||
export const ProgressBarContainer = styled.div` | ||
display: inline; | ||
width: 100%; | ||
height: 2px; | ||
background-color: ${COLORS.gray4}; | ||
border-radius: 2px; | ||
margin-bottom: 2rem; | ||
`; | ||
|
||
export const ProgressBarFiller = styled.div<{ | ||
progress: number | ||
}>` | ||
height: 100%; | ||
width: ${(props) => props.progress}%; | ||
background-color: ${COLORS.gray12}; | ||
transition: width 0.25s ease-in-out; | ||
`; |