Skip to content

Why Box have sx prop? #2126

Answered by hasparus
PeterlitsZo asked this question in General
Discussion options

You must be logged in to vote

Hey, firstly thank you for the attention and your activity in this repo. I really appreciate it.

So, this is not a bug.
Box supports both sx and className. You can use the Box component without configuring JSX Pragma, without using jsx function.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PeterlitsZo
Comment options

Answer selected by PeterlitsZo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants