Skip to content

Possible to use Styled Components with Mantine? #215

Answered by rtivital
BradNut asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @BradNut, this issue is not related to styled components, Mantine uses random id generation to connect labels with associated controls. Each component that does it accepts id prop (or similar) to assign static id instead of random one. For example – https://mantine.dev/core/text-input/#server-side-rendering

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rtivital
Comment options

@BradNut
Comment options

@BradNut
Comment options

@rtivital
Comment options

@BradNut
Comment options

Answer selected by rtivital
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