mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
fix: version 4.0.0-beta.1
This commit is contained in:
parent
1d9bb93625
commit
18cba6dd9c
@ -7,15 +7,7 @@ interface StepsProps extends ProgressProps {
|
||||
}
|
||||
|
||||
const Steps: React.SFC<StepsProps> = props => {
|
||||
const {
|
||||
size = 'default',
|
||||
steps,
|
||||
percent = 0,
|
||||
strokeWidth = 8,
|
||||
strokeColor,
|
||||
prefixCls,
|
||||
children,
|
||||
} = props;
|
||||
const { size = 'default', steps, percent = 0, strokeWidth = 8, strokeColor, prefixCls, children } = props;
|
||||
const getStyledSteps = () => {
|
||||
const current = Math.floor(steps * (percent / 100));
|
||||
const stepWidth = size === 'small' ? 2 : 14;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "antd",
|
||||
"version": "4.0.0-beta.0",
|
||||
"version": "4.0.0-beta.1",
|
||||
"description": "An enterprise-class UI design language and React components implementation",
|
||||
"keywords": [
|
||||
"ant",
|
||||
|
Loading…
Reference in New Issue
Block a user