import { COLORS } from "@heydovetail/ui-components"; import { storiesOf } from "@storybook/react"; import React from "react"; import { styled } from "typestyle-react"; import { ResponsiveImage } from "../ResponsiveImage"; storiesOf(`Attachments/${ResponsiveImage.name}`, module) .add("Sizes", () => ( <> {[[200, 250], [2000, 250], [200, 2500]].map(([width, height], i) => (

{width}×{height}

))} )) .add("Inside ", () => ( <> {[[200, 250], [2000, 250], [200, 2500]].map(([width, height], i) => (

{width}×{height}

))} )); const Stain = styled("div", { background: COLORS.blue, display: "inline-block", lineHeight: 0 });