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

Add a prop to overwrite default class #34

Open
jamesallan93 opened this issue Apr 30, 2023 · 0 comments
Open

Add a prop to overwrite default class #34

jamesallan93 opened this issue Apr 30, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@jamesallan93
Copy link

jamesallan93 commented Apr 30, 2023

I think that a prop for overwriting the default class on the <ul/> would be handy.
So using js to overwrite wouldn't be needed.

 let form = document.getElementById("form_wiz");
 form?.children[0].classList.add("nav", "nav-pills", "nav-fill");
<FormWizard ulClass="class-1 abc primary">
   _...some code_
</FormWizard>
@bahadirsofuoglu bahadirsofuoglu self-assigned this May 1, 2023
@bahadirsofuoglu bahadirsofuoglu added enhancement New feature or request good first issue Good for newcomers labels May 1, 2023
@bahadirsofuoglu bahadirsofuoglu added this to the 1.2.0 milestone Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants