Skip to content

Commit

Permalink
Merge pull request ant-design#20467 from ant-design/upd-version
Browse files Browse the repository at this point in the history
upd: version 4.0.0-beta.1
  • Loading branch information
ycjcl868 authored Dec 26, 2019
2 parents 1d9bb93 + 18cba6d commit 81c71a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions components/progress/Steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 81c71a4

Please sign in to comment.