react-icons/fi#FiShuffle JavaScript Examples

The following examples show how to use react-icons/fi#FiShuffle. 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: BackgroundInfos.jsx    From 4IZ268-2021-2022-ZS with MIT License 6 votes vote down vote up
function BackgroundInfos({ background, getRandomPhoto }) {
  return (
    <div className='group pl-4 pb-3 pt-16 pr-28 opacity-70 hover:opacity-90 transition-opacity relative'>
      <Tooltip
        content="after:content-['Try_another_photo']"
        position='right'
        method={getRandomPhoto}
        className='opacity-0 group-hover:opacity-100'>
        <FiShuffle />
      </Tooltip>

      <p className='font-medium'>{background.location.name}</p>
      <p className='opacity-80'>Photo by {background.user.name}</p>
    </div>
  )
}