index.d.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. declare const _default: new (props: any) => {
  2. style: import("../../types").Style;
  3. itemWidth: Number;
  4. getOriginItems(): any;
  5. getItems(): any;
  6. setItems(items: any): void;
  7. getMaxItemBox(legendShape: any): {
  8. width: number;
  9. height: number;
  10. };
  11. _init(): void;
  12. updateCoord(): void;
  13. willMount(): void;
  14. didMount(): void;
  15. willUpdate(): void;
  16. _initEvent(): void;
  17. render(): import("../..").JSX.Element;
  18. props: import("./withLegend").LegendProps;
  19. state: any;
  20. context: import("../../base/component").ComponentContext;
  21. refs: {
  22. [key: string]: import("../../base/component").default<any, any>;
  23. };
  24. updater: import("../../base/component").Updater<any>;
  25. children: import("../..").JSX.Element;
  26. container: any;
  27. animate: boolean;
  28. destroyed: boolean;
  29. willReceiveProps(_props: import("./withLegend").LegendProps, context?: import("./withLegend").LegendProps): void;
  30. didUpdate(): void;
  31. didUnmount(): void;
  32. setState(partialState: any, callback?: () => void): void;
  33. forceUpdate(callback?: () => void): void;
  34. setAnimate(animate: boolean): void;
  35. destroy(): void;
  36. };
  37. export default _default;
  38. import withLegend from "./withLegend";
  39. import LegendView from "./legendView";
  40. export { withLegend, LegendView };