chakra-ui-steps icon indicating copy to clipboard operation
chakra-ui-steps copied to clipboard

Add a type to StepsStyles

Open code-arman opened this issue 1 year ago • 1 comments

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

code-arman avatar Feb 26 '23 05:02 code-arman

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

jeanverster avatar Mar 29 '23 19:03 jeanverster