-
In mantine.dev there's an option to set custom color pairs for light/dark theme via the Is this possible in |
Beta Was this translation helpful? Give feedback.
Answered by
AnnMarieW
Nov 6, 2024
Replies: 1 comment 1 reply
-
Hi @mmarfat Currently dmc does not support functions as props - but it's on the project plan for after the first major release. However, this function is quite simple and we may be able to handle it with a regular dash prop, then calling the function inside the component. It would take some investigating but it would be a great addition to dmc! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mmarfat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mmarfat
Currently dmc does not support functions as props - but it's on the project plan for after the first major release.
However, this function is quite simple and we may be able to handle it with a regular dash prop, then calling the function inside the component. It would take some investigating but it would be a great addition to dmc!