export default { title: "Components/Card", tags: ['autodocs'], args: { direction: 'vertical', overline: "Overline", headline: "Headline", description: "Some quick example text to build on the card title and make up the bulk of the card's content.", button: 'button', href: "", target: '_blank', position: 'right', src: "https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg" }, argTypes: { button: { options: ['button', 'link', 'none'], control: { type: 'radio' } }, direction: { options: ['horizontal', 'vertical'], control: { type: 'radio' } }, position: { options: ['left', 'right'], control: { type: 'radio' }, if: { arg: 'direction', eq: 'horizontal' } }, target: { options: ['_blank', '_self', '_parent'], control: { type: 'radio' } } } }; const DefaultTemplate = (args) => ` ${args.overline ? ` ${args.overline} ` : ""} ${args.headline ? ` ${args.headline} ` : ""} ${args.description ? ` ${args.description} ` : ""} ${args.button === 'button' ? ` Button Button ` : ""} ${args.button === 'link' ? ` Link Link ` : ""} `; export const Default = DefaultTemplate.bind({}); Default.args = { src: "https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg" }; const HorizontalTemplate = (args) => ` ${args.overline ? ` ${args.overline} ` : ""} ${args.headline ? ` ${args.headline} ` : ""} ${args.description ? ` ${args.description} ` : ""} ${args.button === 'button' ? ` Button Button ` : ""} ${args.button === 'link' ? ` Link Link ` : ""} `; export const Horizontal = HorizontalTemplate.bind({}); Horizontal.args = { direction: 'horizontal', src: "https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg" }; Horizontal.argTypes = { direction: { table: { disable: true } } }; //# sourceMappingURL=card.stories.js.map