Installation
npm install --save @types/social-logos
Summary
This package contains type definitions for social-logos (https://github.com/Automattic/social-logos#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/social-logos.
index.d.ts
import * as React from "react";
export type SocialIcon =
| "amazon"
| "behance"
| "blogger-alt"
| "blogger"
| "codepen"
| "dribbble"
| "dropbox"
| "eventbrite"
| "facebook"
| "feed"
| "flickr"
| "foursquare"
| "ghost"
| "github"
| "google-alt"
| "google-plus-alt"
| "google-plus"
| "google"
| "instagram"
| "linkedin"
| "mail"
| "medium-alt"
| "medium"
| "patreon"
| "pinterest-alt"
| "pinterest"
| "pocket"
| "polldaddy"
| "print"
| "reddit"
| "share"
| "skype"
| "spotify"
| "squarespace"
| "stumbleupon"
| "telegram"
| "tiktok-alt"
| "tiktok"
| "tumblr-alt"
| "tumblr"
| "twitch"
| "twitter-alt"
| "twitter"
| "vimeo"
| "whatsapp"
| "woocommerce"
| "wordpress"
| "xanga"
| "youtube";
export interface Props {
icon: SocialIcon;
size?: number | undefined;
onClick?(): void;
className?: string | undefined;
}
export default class SocialLogo extends React.Component<Props> {}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/react
Credits
These definitions were written by Todd Dukart.