@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
38 lines (37 loc) • 819 B
TypeScript
import { ReactNode } from 'react';
export declare enum FOOTER_TYPE {
LIGHT = "light",
DARK = "dark"
}
export interface IFooterMenuItem {
[key: string]: string;
}
export interface IFooterSocialIcon {
id: string;
iconName: string;
url: string;
}
export interface ISocialIconMap {
instagram: () => ReactNode;
pinterest: () => ReactNode;
twitter: () => ReactNode;
facebook: () => ReactNode;
}
export interface IFooterProps {
/**
* Pick the type of footer which is required
*/
type: FOOTER_TYPE;
/**
* Array of Footer Menu Item
*/
footerMenuItems: Array<IFooterMenuItem>;
/**
* Array of Footer Social Icons
*/
footerSocialIcons: Array<IFooterSocialIcon>;
/**
* Text for Footer component
*/
footerText: string;
}