diff --git a/src/components/SocialLinks.tsx b/src/components/SocialLinks.tsx index ea87687..cda7708 100644 --- a/src/components/SocialLinks.tsx +++ b/src/components/SocialLinks.tsx @@ -34,12 +34,20 @@ export const ShareInFacebook: React.FC = ({ url }) => { ) } -export const ShareInTwitter: React.FC = (props) => { +export const ShareInTwitter: React.FC< + ShareComponentProps & { + title: string + hashtags?: string[] + } +> = (props) => { return ( - + ) @@ -49,9 +57,11 @@ ShareInTwitter.defaultProps = { hashtags: [], } -export const ShareInReddit: React.FC = ({ url, title }) => { +export const ShareInReddit: React.FC< + ShareComponentProps & { + title: string + } +> = ({ url, title }) => { return (