Skip to content

Commit

Permalink
Merge pull request #14263 from thesiti92/patch-1
Browse files Browse the repository at this point in the history
Add LegendComponentOption.icon property type
  • Loading branch information
pissang authored Feb 17, 2021
2 parents 0b33193 + b04772d commit 28bffa0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/component/legend/LegendModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ export interface LegendOption extends ComponentOption, BoxLayoutOptionMixin, Bor
* @default 5
*/
padding?: number | number[]
/**
* Icon of the legend items.
* @default 'roundRect'
*/
icon?: string
/**
* Gap between each legend item.
* @default 10
Expand Down

0 comments on commit 28bffa0

Please sign in to comment.