import { Meta, Preview, Props, Story } from "@storybook/addon-docs/blocks";
import { select } from "@storybook/addon-knobs";
import Icons from "./Icons";

<Meta title="Icons" />

# Icons

Some MDX docs for all `Icon` component.

<Story name="Icons" parameters={{
  docs: {
    disable: false
  },
  options: {
    showPanel: true
  }
}}>
  {{
    components: {
      Icons
    },
    props: {
      icon: {
        default: select(
          "icon",
          {
            Alert: "IconAlert",
            "Arrow Down": "IconArrowDown",
            "Arrow Left": "IconArrowLeft",
            "Arrow Right": "IconArrowRight",
            "Arrow Up": "IconArrowUp",
            Basket: "IconBasket",
            Calendar: "IconCalendar",
            Camera: "IconCamera",
            Chevron: "IconChevron",
            "Chevron Down": "IconChevronDown",
            "Chevron Down Outline": "IconChevronDownOutline",
            "Chevron Left": "IconChevronLeft",
            "Chevron Left Outline": "IconChevronLeftOutline",
            "Chevron Right": "IconChevronRight",
            "Chevron Right Outline": "IconChevronRightOutline",
            "Chevron Up": "IconChevronUp",
            "Chevron Up Outline": "IconChevronUpOutline",
            Close: "IconClose",
            "Close Outline": "IconCloseOutline",
            "Credit Card": "IconCreditCard",
            Delete: "IconDelete",
            Download: "IconDownload",
            Edit: "IconEdit",
            Ellipsis: "IconEllipsis",
            "Ellipsis Outline": "IconEllipsisOutline",
            "Error Outline": "IconErrorOutline",
            Forward: "IconForward",
            Hamburger: "IconHamburger",
            "Information Outline": "IconInformationOutline",
            Instructions: "IconInstructions",
            Mail: "IconMail",
            Minus: "IconMinus",
            "Minus Outline": "IconMinusOutline",
            Money: "IconMoney",
            Padlock: "IconPadlock",
            Plus: "IconPlus",
            "Plus Outline": "IconPlusOutline",
            Pointer: "IconPointer",
            Printer: "IconPrinter",
            "Question Outline": "IconQuestionOutline",
            Return: "IconReturn",
            Safeplace: "IconSafeplace",
            Search: "IconSearch",
            Send: "IconSend",
            Share: "IconShare",
            Speak: "IconSpeak",
            Star: "IconStar",
            Telephone: "IconTelephone",
            Tick: "IconTick",
            "Tick Outline": "IconTickOutline",
            Upload: "IconUpload",
            User: "IconUser",
            Like: "IconLike",
            "Like Active": "IconLikeActive",
            Dislike: "IconDislike",
            "Dislike Active": "IconDislikeActive",
          },
          "IconAlert"
        )
      },
      color: {
        default: select(
          "color",
          {
            Demask: "demask",
            Sandy: "sandy",
            Goldenrod: "goldenrod",
            Paradiso: "paradiso",
            Deco: "deco",
            Pacific: "pacific",
            Cornflower: "cornflower",
            Scampi: "scampi",
            Blush: "blush",
            Eggplant: "eggplant",
            Fiord: "fiord",
            White: "white",
            Mono: "mono"
          },
          "pacific"
        )
      }
    },
    template: `<icons :icon="icon" :color="color" />`
  }}
</Story>

<Props of={Icons} />
