react-animated-menuicon
Version:
An animated hamburger menu icon in React
19 lines (18 loc) • 415 B
TypeScript
export type TSizes = {
[key: string]: string;
};
export type OptionProps = {
size?: string | undefined;
type?: string | undefined;
color?: string | undefined;
};
declare const useMenuIcon: ({ size, type, color, }: OptionProps) => {
open: boolean;
toggleMenu: () => void;
options: {
size: string;
type: string;
color: string;
};
};
export default useMenuIcon;