Timeline.stories.d.ts 991 B

123456789101112131415161718192021222324252627282930313233343536
  1. import { Story } from "@storybook/web-components";
  2. import { IEvent } from "../Event";
  3. import { IRessource } from "../Ressource";
  4. import { UnitLegend } from "../Timeline";
  5. declare const _default: {
  6. title: string;
  7. component: string;
  8. argTypes: {
  9. start: {
  10. control: {
  11. type: string;
  12. };
  13. };
  14. end: {
  15. control: {
  16. type: string;
  17. };
  18. };
  19. };
  20. };
  21. export default _default;
  22. interface TimelineProps {
  23. start: string;
  24. end: string;
  25. slotduration: number;
  26. legendSpan?: number;
  27. slotWidth?: number;
  28. legendFormat?: Partial<UnitLegend>;
  29. ressources?: Array<IRessource>;
  30. events?: Array<IEvent>;
  31. }
  32. export declare const Generic: Story<TimelineProps>;
  33. export declare const Week: Story<TimelineProps>;
  34. export declare const NestedRessource: Story<TimelineProps>;
  35. export declare const WithEvents: Story<TimelineProps>;
  36. export declare const Rainbow: Story<TimelineProps>;