mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
fix(plotly.js): missing Icon optional fields (#43655)
- `height` - `name`i - `svg` - `transform` - properties are optionali https://git.io/JvNOS Closes comments: https://git.io/JvNO9 /cc @mmakrzem Thanks!
This commit is contained in:
parent
e45ffb802d
commit
7d69a9dfa2
Vendored
+6
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user