Skip to content

Commit

Permalink
fix(type): add missing svg.classname type definition
Browse files Browse the repository at this point in the history
Add type definition for svg.classname option

Fix #2893
  • Loading branch information
netil committed Oct 5, 2022
1 parent 55594ff commit 72e5c84
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ export interface ChartOptions {
height?: number;
};

svg?: {
/**
* Set svg element's class name
*/
classname?: string;
};

/**
* Set padding of chart, and accepts object or boolean type.
* - `Object`: Specify each side's padding.
Expand Down

0 comments on commit 72e5c84

Please sign in to comment.