import React from 'react'; export interface IHashLinkBaseProps { onClick?: (...args: any[]) => void | Promise; children: React.ReactNode; scroll?: (...args: any[]) => void | Promise; smooth?: boolean; timeout?: number; elementId?: string; to: string | Location; }