diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index b7b6ca3bc1..81f268f449 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -473,10 +473,14 @@ export type ModeBarDefaultButtons = 'lasso2d' | 'select2d' | 'sendDataToCloud' | export type ButtonClickEvent = (gd: PlotlyHTMLElement, ev: MouseEvent) => void; export interface Icon { - width: number; - path: string; + height?: number; + width?: number; ascent?: number; descent?: number; + name?: string; + path?: string; + svg?: string; + transform?: string; } export interface ModeBarButton {