@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
27 lines (26 loc) • 792 B
TypeScript
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
import { BarChartIndicatorStyles } from "../models";
export interface IBarChartIndicatorComponent {
[name: string]: any;
clickCallback: (label?: string) => void;
loadData: (isPrevious: boolean) => Promise<void>;
hasData: (isPrevious: boolean) => boolean;
chartValues: Array<{
label: string;
value: number;
}>;
unitLabel: string;
label: string;
style?: typeof BarChartIndicatorStyles;
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface IntrinsicElements {
"omfx-barchart-indicator": TsxAllowUnknowProperties<IBarChartIndicatorComponent>;
}
}
}