Skip to content

Instantly share code, notes, and snippets.

@Ranatchai
Created December 20, 2017 11:03
Show Gist options
  • Save Ranatchai/60f6cd45b3512272b51d4c597608f61f to your computer and use it in GitHub Desktop.
Save Ranatchai/60f6cd45b3512272b51d4c597608f61f to your computer and use it in GitHub Desktop.
import { Progress } from 'antd'
import React, { PureComponent } from 'react'
import styled, { injectGlobal } from 'styled-components'
const StyledProgress = styled(Progress)`
display: block;
width: 200px;
margin-top: 2px;
.ant-progress-outer {
display: block;
}
.ant-progress-inner{
display: block;
border-radius: 0;
background-color: #e8e8e8;
}
.ant-progress-inner>.ant-progress-bg{
display: block;
border-radius: 0;
background-color: #ababab;
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment