mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* renamed SFC to FunctionComponent * more informative deprecation notice * add FC as an alias for FunctionComponent * remove use of deprecated APIs Revert "remove use of deprecated APIs" This reverts commit 6bdf2ed88a2ba758060c75720c4fd3960350d706. remove use of deprecated APIs without reformatting * add tests to ensure legacy aliases continue working
26 lines
1.6 KiB
TypeScript
26 lines
1.6 KiB
TypeScript
import {
|
|
FacebookShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
GooglePlusShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
LinkedinShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
PinterestShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
VKShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
OKShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
RedditShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
TumblrShareCount, // $ExpectType FunctionComponent<ShareCountComponentProps>
|
|
|
|
FacebookIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
TwitterIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
TelegramIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
WhatsappIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
GooglePlusIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
LinkedinIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
PinterestIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
VKIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
OKIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
RedditIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
TumblrIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
LivejournalIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
MailruIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
EmailIcon, // $ExpectType FunctionComponent<IconComponentProps>
|
|
} from 'react-share';
|