react-icons/ai#AiOutlineFolder JavaScript Examples
The following examples show how to use
react-icons/ai#AiOutlineFolder.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AchievementCard.js From developer-portfolio with Apache License 2.0 | 6 votes |
function AchievementCard({id, title, details, date, field, image}) {
const { theme } = useContext(ThemeContext);
const useStyles = makeStyles((t) => ({
achievementCard : {
backgroundColor:theme.primary30,
"&:hover": {
backgroundColor:theme.primary50,
},
},
}));
const classes = useStyles();
return (
<Fade bottom>
<div key={id} className={`achievement-card ${classes.achievementCard}`}>
<div className="achievecard-content">
<div className="achievecard-details1">
<h2 style={{color: theme.tertiary}}>{title}</h2>
<p style={{color: theme.tertiary80}}>{details}</p>
</div>
<div className="achievecard-details2" style={{color: theme.primary}}>
<h5>{date}</h5>
<div className="achievecard-field">
<AiOutlineFolder />
<h5>{field}</h5>
</div>
</div>
</div>
<div className="achievecard-imgcontainer">
<img src={image} alt="" />
</div>
</div>
</Fade>
)
}