You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to pass a react-icon to the css properties of a JSX radio input in React (using Emotion), but I honestly have no clue on how to reference the icon.
Is this even possible?
import { FaStar } from 'react-icons/fa';
...
<input
type='radio'
css={{
clipPath: **here** // I want to pass <FaStar/> here somehow.
}}
\>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to pass a react-icon to the css properties of a JSX radio input in React (using Emotion), but I honestly have no clue on how to reference the icon.
Is this even possible?
Beta Was this translation helpful? Give feedback.
All reactions