import { Meta, Story } from "@storybook/react";

import { events } from "../core/storybook";

import CesiumWidget, { CesiumWidgetProps } from "./CesiumWidget";

export default {
  title: "CesiumWidget",
  component: CesiumWidget,
} as Meta;

export const Basic: Story<CesiumWidgetProps> = args => <CesiumWidget {...args} full />;

export const Events: Story<CesiumWidgetProps> = args => <CesiumWidget {...args} full {...events} />;
