You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The language prop in CodeHighlightTabs is defined as optional, but not setting that property causes a crash.
What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.1.7
If possible, please include a link to a codesandbox with the reproduced problem
What package has an issue
@mantine/code-highlight
Describe the bug
The language prop in
CodeHighlightTabs
is defined as optional, but not setting that property causes a crash.What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.1.7
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/condescending-https-mzkldz?file=/src/App.tsx
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
language
a required propplaintext
if language is undefinedThe text was updated successfully, but these errors were encountered: