Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the label above stepIndicator instead of below #103

Open
infothien opened this issue Sep 10, 2020 · 5 comments
Open

Move the label above stepIndicator instead of below #103

infothien opened this issue Sep 10, 2020 · 5 comments

Comments

@infothien
Copy link

Hi there,

I would like to ask Is there anyway to move the label above stepIndicator instead of below it?

@24ark
Copy link
Owner

24ark commented Sep 11, 2020

@infothien Currently this is not supported.

This should be an easy functionality to add.
Based on a new prop we can call renderStepLabels before or after the renderStepIndicator call here:

{renderStepIndicator()}

@infothien
Copy link
Author

infothien commented Sep 11, 2020

that is true thank you for your feedback @24ark, by the way I could actually achieve it by using some css stuff though

@24ark
Copy link
Owner

24ark commented Sep 11, 2020

that is true thank you for your feedback @24ark, by the way I could actually achieve it by using some css stuff though

Yes we can try column-reverse here:

: { flexDirection: 'column' },

@infothien
Copy link
Author

infothien commented Sep 11, 2020

that is nice and easier way to achieve it thank you I got pr here for it #104 based on your suggestion @24ark , I will let you know when it is ready

@infothien
Copy link
Author

it is ready ! I also added the image to demonstrate the changes, would appreciate that you can give it a check too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants