Comments (1)
@MebDevelop I would like to control this too!
For now, you can set the status of each step like:
let currentStepId = 0;
<Steps labelPlacement="vertical" current={currentStepId}>
{renderSteps()}
</Steps>
renderSteps() {
let steps = [0, 1, 2, 3, 4, 5];
return steps.map((item, index)=> {
let status = item == currentStepId ? 'process' : 'wait';
return <Step key={"step" + index} status={status} />
});
}
from steps.
Related Issues (20)
- http://react-component.github.io/steps/examples/ does not load
- Can I change the length of the line between state and state?
- Property 'Step' does not exist on type 'typeof Steps'. HOT 1
- Adding more steps, data is getting crunched. Is there a way to avoid it?
- tailContent is not working
- Accessibility: Step title label is not associated with content
- Since upgrading to react 17 and Webpack 5 - rc-steps not rendering HOT 1
- locker 文件 全是内部域名 registry.npm.alibaba-inc.com
- Keyboard focus gets lost/ focus order is disturbed on the page affecting their understanding of the logical order of navigation
- Cannot interact with clickable steps via keyboard
- Single steps are not rendered HOT 6
- TypeScript types are wrong when this package is used in an ESM environment HOT 1
- Demo site don't work HOT 4
- Component not working for any version above 4.1.4 HOT 3
- Using custom components HOT 2
- icons error has error in console HOT 4
- RTL support HOT 2
- 本地启动的时候报错 primordials is not defined HOT 3
- requiring instead of importing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steps.