/// export interface IState { ref: React.RefObject; widgetId: number | undefined; token: string | undefined; expired: boolean; error: boolean; }