Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { library } from '@fortawesome/fontawesome-svg-core';
import { faCloudSun } from '@fortawesome/free-solid-svg-icons';
import FontAwesomeIcon from '@ntag/react-fontawesome';
library.add(faCloudSun);
export const Weather = () => (
<div>
<h1>Weather</h1>
<FontAwesomeIcon icon="cloud-sun" fill={['#3C6997', '#EDFF71', '#F1DB4B']} />
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment