mantine-custom-components 是做什麼的?
建立與 Mantine 的主題系統、樣式 API 和核心功能整合的自訂元件。請在以下情況使用此技能:(1) 使用 factory()、polymorphicFactory() 或 genericFactory() 建立新元件時,(2) 新增 Styles API 支援(classNames、styles、vars、unstyled)時,(3) 透過 createVarsResolver 實作 CSS 變數時,(4) 建立包含子元件和共享 context 的複合元件時,(5) 透過 Component.extend() 在 MantineProvider 中註冊元件時,或 (6) 任何涉及 @mantine/core 中的 Factory、useProps、useStyles、BoxProps、StylesApiProps 或 ElementProps 的任務時。