🎨 Designing in the browser
🔗 jenia.codes
Do we have a way in TS to constrain what type of component the prop can accept?
For example, I would like to accept in `leftIcon` and `rightIcon` only
Do we have a way in TS to constrain what type of component the prop can accept?
For example, I would like to accept in `leftIcon` and `rightIcon` only