@wix/design-system
Version:
@wix/design-system
28 lines (23 loc) • 609 B
TypeScript
import * as React from 'react';
export type SocialButtonIcons =
| 'facebook'
| 'instagram'
| 'twitter'
| 'pinterest'
| 'youtube'
| 'linkedin'
| 'xcorp';
export interface SocialButtonProps {
/** Text for the button */
text?: React.ReactNode;
/** Share button social network type */
icon?: SocialButtonIcons;
/** hook for testing purposes */
dataHook?: string;
/** Disable button */
disabled?: boolean;
/** Click handler */
onClick?: React.EventHandler<React.MouseEvent<HTMLElement>>;
}
declare const SocialButton: React.FC<SocialButtonProps>;
export default SocialButton;