mantine-custom-components 是做什么的?
构建与 Mantine 主题、样式 API 及核心功能集成的自定义组件。在以下场景使用此技能:(1) 使用 factory()、polymorphicFactory() 或 genericFactory() 创建新组件;(2) 添加样式 API 支持(classNames、styles、vars、unstyled);(3) 通过 createVarsResolver 实现 CSS 变量;(4) 构建包含子组件和共享上下文的复合组件;(5) 通过 Component.extend() 向 MantineProvider 注册组件;(6) 任何涉及 @mantine/core 中 Factory、useProps、useStyles、BoxProps、StylesApiProps 或 ElementProps 的任务。