You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
512 B
TypeScript
30 lines
512 B
TypeScript
import styled from 'styled-components'
|
|
|
|
export const Cotainer = styled.div`
|
|
height: 5px;
|
|
width: 100%;
|
|
background: rgba(0, 0, 0, 0.19);
|
|
border-radius: 50;
|
|
margin: 50;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
`
|
|
|
|
export const Filler = styled.div<{ bgcolor: string }>`
|
|
height: 100%;
|
|
width: 0;
|
|
background-color: ${props => props.bgcolor};
|
|
border-radius: inherit;
|
|
text-align: right;
|
|
|
|
transition: width 0.3s ease-in-out;
|
|
`
|
|
|
|
export const Label = styled.span`
|
|
padding: 5;
|
|
color: white;
|
|
font-weight: bold;
|
|
`
|