2.3.4 • Published 7 months ago
@types/social-logos v2.3.4
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
// Type definitions for social-logos 2.3
// Project: https://github.com/Automattic/social-logos#readme
// Definitions by: Todd Dukart <https://github.com/tdukart>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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, 06 Jul 2021 16:35:02 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Todd Dukart.