lost-sia
Version:
Single Image Annotation Tool
37 lines (36 loc) • 1.15 kB
TypeScript
import { StoryObj } from '@storybook/react';
import { default as AnnotationTool } from '../../models/AnnotationTool';
import { UiConfig } from '../../types';
export declare const ActionsData: {
onAnnoEvent: any;
onKeyDown: any;
onKeyUp: any;
};
declare const meta: {
title: string;
component: ({ annotations, image, selectedAnnoTool, possibleLabels, preventScrolling, uiConfig, }: {
annotations?: import('../../models').Annotation[];
image: string;
selectedAnnoTool: AnnotationTool;
possibleLabels: import('../..').Label[];
preventScrolling: boolean;
uiConfig: UiConfig;
}) => import("react/jsx-runtime").JSX.Element;
parameters: {
layout: string;
};
tags: string[];
excludeStories: RegExp;
args: {
onAnnoEvent: any;
onKeyDown: any;
onKeyUp: any;
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Default: Story;
export declare const WithPoints: Story;
export declare const WithLines: Story;
export declare const WithBBoxes: Story;
export declare const WithPolygonAnnotations: Story;