Why do you suggest changing the style component to tailwind? What is better about it? You are only changing the tool to one you know yourself. If the project is large and doesn't use tailwind but own styled components what then?
Great, the only thing I would change is either remove the icon property and let the dev put the icon in the position they want via children, or make the icon property a type with icon and slot: "start | end" for positioning, I feel like passing an icon prop and having to position the children passing a class is not very clean.
Why do you suggest changing the style component to tailwind? What is better about it? You are only changing the tool to one you know yourself. If the project is large and doesn't use tailwind but own styled components what then?
Great, the only thing I would change is either remove the icon property and let the dev put the icon in the position they want via children, or make the icon property a type with icon and slot: "start | end" for positioning, I feel like passing an icon prop and having to position the children passing a class is not very clean.
Thank you , keep posting content like this
Glad this kind of videos is helping ^^
Great approach
Thank you
سطايفي 😳☺️
تاع بصح من سطيف ؟؟ هههه
@@BillalBenzazoua وي سيريو مسطيف
@@abcess124 nice hahaha 😆 🤣 😂