@types/social-logos
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/social-logos

Weekly Downloads

2,089

Version

2.3.4

License

MIT

Unpacked Size

4.83 kB

Total Files

5

Last publish

Collaborators

  • types