@conboai/storybook.components 0.5.77 → 0.5.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,10 @@ export type MetroMapElementType = {
18
18
  };
19
19
  className?: string;
20
20
  };
21
+ type FullNameData = {
22
+ sectorId: string;
23
+ text: string;
24
+ };
21
25
  interface IMetroMap {
22
26
  elements: MetroMapElementType | null;
23
27
  selectedCluster?: string | string[];
@@ -38,7 +42,8 @@ interface IMetroMap {
38
42
  timing?: MetromapPalleteData[];
39
43
  disabledSectors?: string[];
40
44
  activeSectors?: string[];
45
+ fullNameData?: FullNameData[];
41
46
  }
42
- declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors, }: IMetroMap): React.JSX.Element | null;
47
+ declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors, fullNameData }: IMetroMap): React.JSX.Element | null;
43
48
  declare const _default: React.MemoExoticComponent<typeof MetroMap>;
44
49
  export default _default;