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 type to StepsStyles #127

Open
code-arman opened this issue Feb 26, 2023 · 1 comment
Open

Add a type to StepsStyles #127

code-arman opened this issue Feb 26, 2023 · 1 comment

Comments

@code-arman
Copy link

Right now, StepsStyles is exported as type any which makes it difficult to extend styles in typscript.

Here is what the steps.theme.ts file looks like with the current non-typed StepsStyles

Screen Shot 2023-02-25 at 11 18 23 PM

@jeanverster
Copy link
Owner

Hey @code-arman, apologies for the delay here, but I've since updated the documentation on how to add custom styles.. It was getting a bit unwieldy to manage all the different parts, so I decided to rather add classes to all the different parts of the component so you can easily select and style them where required. Can have a look at them here along with an example.

Lemme know if this helps

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