saleor-dashboard/src/components/PreviewPill/PreviewPill.stories.tsx
Dominik Żegleń 1eab4ac8a6
Preview pills (#1880)
* Add pill component

* Add preview pill to gift card list

* Use outlined prop

* Add arrow to tooltip

* Add preview pill to gift card view headers

* Add preview pills to mark preview features

* Update macaw

* Update tests

* Update messages

* Add black color to pill preview tooltip

Co-authored-by: Wojciech <wojciech.mista@hotmail.com>
2022-02-21 12:38:27 +01:00

9 lines
284 B
TypeScript

import Decorator from "@saleor/storybook/Decorator";
import { storiesOf } from "@storybook/react";
import React from "react";
import PreviewPill from "./PreviewPill";
storiesOf("Component / Preview Pill", module)
.addDecorator(Decorator)
.add("default", () => <PreviewPill />);