react-icons/ri#RiSunFill JavaScript Examples

The following examples show how to use react-icons/ri#RiSunFill. 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: FloatingActionButton.js    From anutimetable with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
DarkModeAction = ({ darkMode, toggleDarkMode }) => <FABAction
  title='Toggle Dark Mode'
  content={darkMode ? <RiMoonFill size='1.5em' /> : <RiSunFill size='1.5em' />}
  onClick={toggleDarkMode}
/>