@amaui/ui-react
Version:
UI for React
38 lines (37 loc) • 1.01 kB
TypeScript
import React from 'react';
import { ILine } from '../Line/Line';
import { ISize } from '../types';
export interface IShare extends ILine {
version?: 'fixed' | 'absolute' | 'static' | 'menu-items';
position?: 'start' | 'end' | 'top' | 'bottom';
size?: ISize;
name?: string;
description?: string;
url?: string;
include?: string[];
exclude?: string[];
visible?: string[];
order?: string[];
openIn?: 'new-window' | 'new-tab';
start?: any;
end?: any;
startMore?: any;
endMore?: any;
render?: (item: any, props: any) => any;
itemProps?: (item: any, index: number) => any;
onOpen?: (value: any, event: MouseEvent) => any;
ListItemProps?: any;
IconFacebook?: any;
IconX?: any;
IconLinkedin?: any;
IconPinterest?: any;
IconReddit?: any;
IconWhatsapp?: any;
IconCopy?: any;
IconViber?: any;
IconEmail?: any;
IconPrint?: any;
IconMore?: any;
}
declare const Share: React.FC<IShare>;
export default Share;