dumi
Version:
📖 Documentation Generator of React Component
16 lines (15 loc) • 452 B
TypeScript
import { SocialTypes } from '../../../dist/client/theme-api/types';
import { FunctionComponent, SVGProps, type FC } from 'react';
import './index.less';
export type SocialIconProps = {
icon: SocialTypes;
link: string;
};
export type PresetSocialIcon = {
Icon: FunctionComponent<SVGProps<SVGSVGElement> & {
title?: string;
}>;
titleIntlId: string;
};
declare const SocialIcon: FC<SocialIconProps>;
export default SocialIcon;