air-command-ui-library
Version:
A React component library for Air Command System with Storybook
44 lines (43 loc) • 1.28 kB
TypeScript
import type { StoryObj } from '@storybook/react';
import { type InfoModalProps } from '../components/InfoModal/InfoModal';
declare const meta: {
title: string;
component: import("react").FC<InfoModalProps>;
parameters: {
layout: string;
backgrounds: {
default: string;
values: {
name: string;
value: string;
}[];
};
};
tags: string[];
argTypes: {
isOpen: {
control: "boolean";
description: string;
};
aircraftId: {
control: "text";
description: string;
};
fields: {
control: "object";
description: string;
};
theme: {
control: {
type: "select";
};
options: string[];
description: string;
};
};
};
export default meta;
type Story = StoryObj<Pick<InfoModalProps, 'aircraftId' | 'fields' | 'theme'>>;
export declare const DarkTheme: Story;
export declare const LightTheme: Story;
export declare const AircraftInfo: import("@storybook/core/csf").StoryAnnotations<import("@storybook/react").ReactRenderer, Pick<InfoModalProps, "theme" | "aircraftId" | "fields">>;