Skip to content
Discussion options

You must be logged in to vote

@cktang88 - I believe this is a bug and you can enter it as a new issue - <Button /> is forcing a display: 'inline-block', without checking for a hidden prop:

display: 'inline-block',

In the meantime you can work around it using css or sx props:
<Button css={{ visibility: "hidden" }}>Click me</Button>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cktang88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants