Last active
October 22, 2024 10:24
-
-
Save kaineer/26adbccbb6b5e02dc4fe5ae6bfbe64eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"classes": { | |
"listItem": "py-3 sm:py-4 w-100", | |
"container": "flex items-center space-x-4 cursor-pointer", | |
"wrapper": "min-w-0 flex-1", | |
"userName": "truncate text-sm font-medium text-gray-900", | |
"iconContainer": "inline-flex items-center text-base font-semibold text-gray-900" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( | |
<li className={classes.listItem}> | |
<div className={classes.container}> | |
<div className={classes.wrapper}> | |
<p | |
className={classes.userName}> | |
{waitingForName ? <Spinner /> : data.userName} | |
</p> | |
</div> | |
<div | |
onClick={() => request({ | |
...mentorsGroup, | |
mentorsId, | |
})} | |
className={classes.iconContainer} | |
> | |
<Icon.Close /> | |
</div> | |
</div> | |
</li> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment