Repository URL to install this package:
|
Version:
2.7.3 ▾
|
import { ReactNode } from 'react';
/**
* TYPES
*/
export declare type SocialIconDataType = Array<InformationProps>;
export interface SocialItemRenderProp extends Function {
(item: InformationProps, index?: number, props?: SocialIconListProps): ReactNode;
}
export interface SocialIconListRenderProp extends Function {
(props: SocialIconListProps): ReactNode;
}
export interface InformationProps {
label?: string;
url?: string;
color?: string;
bgcolor?: string;
breed?: string;
dataQa?: string;
children?: ReactNode;
}
export interface SocialIconListProps {
className?: string;
children?: ReactNode;
iconsList?: SocialIconDataType;
renderIcon?: SocialItemRenderProp;
renderIconList?: SocialIconListRenderProp;
renderWrapper?: SocialIconListRenderProp;
renderIconWrapper?: SocialItemRenderProp;
}