@fortawesome/free-regular-svg-icons#faClock JavaScript Examples
The following examples show how to use
@fortawesome/free-regular-svg-icons#faClock.
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: LteMessageNavItem.jsx From react-lte with MIT License | 6 votes |
LteMessageNavItem = ({ href, avatar, user, message, date, textColor }) => {
return (
<>
<DropdownItem tag={Link} to={href}>
<Media>
<img src={avatar} alt='' className='img-size-50 mr-3 img-circle' />
<Media body>
<h3 className='dropdown-item-title'>
{user}
<LteText className='float-right' size='sm' color={textColor}>
<FontAwesomeIcon icon={faStar} />
</LteText>
</h3>
<LteText size='sm'>{message}</LteText>
<LteText size='sm' color='muted'>
<FontAwesomeIcon icon={faClock} />
<span className='ml-1'>{date}</span>
</LteText>
</Media>
</Media>
</DropdownItem>
<DropdownItem divider />
</>
);
}