-
Hello, I am trying to add a border to a jsx box, But the props does not allow any styles or classname. Thanks you |
Beta Was this translation helpful? Give feedback.
Answered by
Montoya
Aug 30, 2024
Replies: 1 comment 4 replies
-
To ensure that Snaps interfaces are consistent with the rest of MetaMask, we do not offer very much customization. You cannot apply arbitrary CSS on components. We will offer some customization in the future, but for now a Box cannot have any props. You can review all of the syntax and props for all components here: https://docs.metamask.io/snaps/features/custom-ui/with-jsx/ |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, I apologize, that border is part of an older design that we will eventually change to match the new design system, which looks like this:
Soon we will introduce a component that gives this rounded border appearance, but for now there is no way to do it.