Hi there,
Great work on creating an awesome component lib cum design system. 👏 🎊
Description
The switch has a dependency of rc-switch
|
import RCSwitch from "rc-switch" |
Similarly, Modal too has a dependency of rc-dialog
|
import Dialog from "rc-dialog" |
I think the components should be decoupled from such dependency.
What can be done?
- Custom implementation can be done (could make a difference in the long run 🚀 )
Let's discuss 📢
Hi there,
Great work on creating an awesome component lib cum design system. 👏 🎊
Description
The switch has a dependency of
rc-switchKnitUI/src/components/Switch/styledComponents.tsx
Line 1 in acb3221
Similarly, Modal too has a dependency of
rc-dialogKnitUI/src/components/Modal/ModalWrapper.tsx
Line 3 in fa9ab8c
I think the components should be decoupled from such dependency.
What can be done?
Let's discuss 📢