react-icons/fa#FaYoutube TypeScript Examples
The following examples show how to use
react-icons/fa#FaYoutube.
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: HomeScreen.tsx From rewind with MIT License | 6 votes |
export function HomeScreen() {
const { appVersion } = useAppInfo();
return (
<Stack gap={4} sx={{ justifyContent: "center", alignItems: "center", margin: "auto", height: "100%" }}>
<Stack alignItems={"center"}>
<FastRewind sx={{ height: "2em", width: "2em" }} />
<Typography fontSize={"1em"} sx={{ userSelect: "none", marginBottom: 2 }}>
REWIND
</Typography>
<Typography fontSize={"caption.fontSize"} color={"text.secondary"}>
Rewind {appVersion} by{" "}
<Link href={RewindLinks.OsuPpyShAbstrakt} target={"_blank"} color={"text.secondary"}>
abstrakt
</Link>
</Typography>
<Typography fontSize={"caption.fontSize"} color={"text.secondary"}>
osu! University
<IconButton href={discordUrl} target={"_blank"} size={"small"}>
<FaDiscord />
</IconButton>
<IconButton href={twitterUrl} target={"_blank"} size={"small"}>
<FaTwitter />
</IconButton>
<IconButton href={youtubeUrl} target={"_blank"} size={"small"}>
<FaYoutube />
</IconButton>
</Typography>
</Stack>
</Stack>
);
}
Example #2
Source File: socialLink.ts From midway with MIT License | 6 votes |
getIcon = icon => {
switch (icon) {
case 'Apple':
return FaApple
case 'facebook':
return FaFacebookF
case 'instagram':
return FaInstagram
case 'Soundcloud':
return FaSoundcloud
case 'Spotify':
return FaSpotify
case 'twitter':
return FaTwitter
case 'youtube':
return FaYoutube
case 'linkedin':
return FaLinkedinIn
case 'github':
return FaGithub
default:
return false
}
}
Example #3
Source File: linktreeList.tsx From dhafit.xyz with MIT License | 6 votes |
linktreeList = [
{ href: "https://twitter.com/DhafitF", text: "Twitter", icon: <FaTwitter /> },
{
href: "https://trakteer.id/dhafid",
text: "Trakteer",
icon: <Image src="/assets/icon/lines-trakteer-icon.png" alt="Trakteer logo" width="100%" height="100%" />,
},
{ href: "https://www.instagram.com/dhafitf", text: "Instagram", icon: <FaInstagram /> },
{ href: "https://www.nogisub.com/", text: "Fansub", icon: <FaBloggerB /> },
{ href: "https://www.facebook.com/dhafid.farenza", text: "Facebook", icon: <FaFacebookF /> },
{ href: "https://github.com/dhafitf", text: "Github", icon: <FaGithub /> },
{ href: "https://www.youtube.com/c/dhafitfarenza", text: "Facebook", icon: <FaYoutube /> },
]
Example #4
Source File: SocialLinks.tsx From coindrop with GNU General Public License v3.0 | 6 votes |
SocialLinks: FunctionComponent = () => {
return (
<Flex
align="center"
wrap="wrap"
justify="center"
mx={["auto", null, "initial"]}
p={2}
>
<SocialLink icon={FaTwitter} href={twitterUrl} />
<SocialLink icon={FaYoutube} href={youtubeUrl} />
<SocialLink icon={FaFacebookF} href={facebookUrl} />
<SocialLink icon={FaGithub} href={githubUrl} />
</Flex>
);
}