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

Uncaught TypeError: stepIconContainer is undefined when creating a variant #61

Open
szczz opened this issue Mar 25, 2022 · 0 comments
Open

Comments

@szczz
Copy link

szczz commented Mar 25, 2022

Hey!

I'm trying to create a custom variant and receive the following error.
image

I'm adding the variant to the custom theme like this
image

and here is CustomSteps
image

If I apply CustomSteps directly to Steps it works perfectly fine. However, I need the variant to prevent the left shift on mobile devices.
image

Additionally, if I add stepIconContainer:{} directly to the alternate variant, the page renders but the steps have no styles. Do I need to specifically add the baseStyle for this in CustomSteps?
image

My apologies if this is painfully obvious, this is my first project with Chakra.

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

1 participant