@amnstak/react-image-annotate
Version:
[](https://www.npmjs.com/package/@amnstak/react-image-annotate)
19 lines (18 loc) • 362 B
TypeScript
export interface ImagePosition {
topLeft: {
x: number;
y: number;
};
bottomRight: {
x: number;
y: number;
};
}
export interface IconSidebarItem {
name: string;
helperText: string;
alwaysShowing?: boolean;
selected?: boolean;
disabled?: boolean;
onClick?: (item: IconSidebarItem) => void;
}