import {linkListCopyData} from "../linklist/LinkListData";
import {createLinkCollection} from "./LinkCollectionComponent";

export default {
  title: 'Components/Link Collection',
  argTypes: {
    headline: {
      name: 'Überschrift',
      control: 'text',
      defaultValue: 'Meistgeklickt',
    },
    buttonText: {
      name: 'Button Label',
      control: 'text',
      defaultValue: 'Alle Pressemitteilungen anzeigen',
    },
    linkListData: {
      name: 'Kontakte',
      control: {type: 'object'},
      defaultValue: linkListCopyData,
    },
  }
}

const Template = ({...args}) => {
  return createLinkCollection({...args});
};

export const LinkCollection = Template.bind({});
LinkCollection.args = {};