mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
65 lines
1.2 KiB
TypeScript
65 lines
1.2 KiB
TypeScript
// Type definitions for social-logos 2.1
|
|
// 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'
|
|
| 'pinterest-alt'
|
|
| 'pinterest'
|
|
| 'pocket'
|
|
| 'polldaddy'
|
|
| 'print'
|
|
| 'reddit'
|
|
| 'share'
|
|
| 'skype'
|
|
| 'spotify'
|
|
| 'squarespace'
|
|
| 'stumbleupon'
|
|
| 'telegram'
|
|
| 'tumblr-alt'
|
|
| 'tumblr'
|
|
| 'twitch'
|
|
| 'twitter-alt'
|
|
| 'twitter'
|
|
| 'vimeo'
|
|
| 'whatsapp'
|
|
| 'woocommerce'
|
|
| 'wordpress'
|
|
| 'xanga'
|
|
| 'youtube';
|
|
|
|
export interface Props {
|
|
icon: SocialIcon;
|
|
size?: number;
|
|
|
|
onClick?(): void;
|
|
|
|
className?: string;
|
|
}
|
|
|
|
export default class SocialLogo extends React.Component<Props> {}
|