/* * Copyright (c) 2020 - present Cloudogu GmbH * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see https://www.gnu.org/licenses/. */ import React from "react"; import { MemoryRouter } from "react-router-dom"; import { storiesOf } from "@storybook/react"; import CardColumn from "./CardColumn"; import Icon from "./Icon"; import styled from "styled-components"; import { DateFromNow } from "."; import repository from "./__resources__/repository"; const Wrapper = styled.div` margin: 2rem; max-width: 400px; `; const link = "/foo/bar"; const avatar = ; const title = title; const footerLeft = left footer; const footerRight = right footer; const baseDate = "2020-03-26T12:13:42+02:00"; storiesOf("CardColumn", module) .addDecorator((story) => {story()}) .addDecorator((storyFn) => {storyFn()}) .add("Default", () => ( )) .add("Minimal", () => ) .add("With hoverable date", () => ( } /> ));