-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shengzheng
committed
Apr 10, 2024
1 parent
52fc2f8
commit 80d3aaa
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { CommonProps } from '../../../types/common'; | ||
|
||
export type LegendIcons = string | React.ReactElement; | ||
export type IconType = string | React.ReactElement; | ||
|
||
export interface LegendIconProps extends CommonProps { | ||
/** 图例项名称 */ | ||
labels: string[]; | ||
/** 图例项图标 */ | ||
icons: LegendIcons[]; | ||
icons: IconType[]; | ||
} |