2022-03-01 17:42:33 +00:00
|
|
|
import { action } from "@storybook/addon-actions";
|
2020-07-27 17:42:19 +00:00
|
|
|
|
2022-03-01 17:42:33 +00:00
|
|
|
import Carrier from "./index.svelte";
|
2020-07-27 17:42:19 +00:00
|
|
|
|
|
|
|
export default {
|
2022-03-01 17:42:33 +00:00
|
|
|
title: "Carrier",
|
2020-07-27 17:42:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const basic = () => ({
|
2022-03-01 17:42:33 +00:00
|
|
|
Component: Carrier,
|
|
|
|
props: {
|
|
|
|
bays: 3,
|
|
|
|
squadrons: [
|
|
|
|
{ id: 1, type: "standard", ftl: false, nbr_fighters: 6 },
|
|
|
|
{ id: 2, type: "fast", ftl: false, nbr_fighters: 6 },
|
|
|
|
{ id: 3, type: "none", ftl: false, nbr_fighters: 6 },
|
|
|
|
],
|
|
|
|
ship_change: action("ship_change"),
|
|
|
|
},
|
|
|
|
});
|