Skip to content

Commit

Permalink
fix(types): add missing imagePadding to NodeOptions (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomStanczyk authored Feb 2, 2020
1 parent 82e636b commit 8ee8ca2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions types/network/Network.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,13 @@ export interface Image {
selected?: string;
}

export interface ImagePadding {
top?: number;
right?: number;
bottom?: number;
left?: number;
}

export interface Color {
border?: string;

Expand Down Expand Up @@ -853,6 +860,8 @@ export interface NodeOptions {
};

image?: string | Image;

imagePadding?: number | ImagePadding;

label?: string;

Expand Down

0 comments on commit 8ee8ca2

Please sign in to comment.