-
Notifications
You must be signed in to change notification settings - Fork 123
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
Possible bug when reading parameters? #126
Comments
I'll look into it. Maybe an oversight. |
@Smolations To disable search, you just need to use <DesignTokenDocBlock categoryName="Colors" maxHeight="none" viewType="table" showSearch={false}/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some lists of tokens, like colors, are often very long. It makes sense to have a search field for them. Others, like line height, will contain just a couple. In trying to disable the search field for just a single set of tokens in MDX fails for me. No errors, just doesn't work (input remains visible). According to the storybook MDX blocks documentation, these should be allowed via the
<Meta />
block. However, trying this with with your addon has no effect. Basically, I tried this within the MDX:I also tried the same on the provided
<DesignTokenDocBlock />
as well, also with no effect. Is this not supported?The text was updated successfully, but these errors were encountered: