Sha256: 0533d92c09939aa02ed944a9caea907c7d3fbb6bd9c617af6d5a3f0b0de6adde

Contents?: true

Size: 670 Bytes

Versions: 5

Compression:

Stored size: 670 Bytes

Contents

import React from "react"
import IconToggle from "./IconToggle"

import { text, select, } from "@storybook/addon-knobs"


export default function IconToggleStory(stories) {
  stories.add("IconToggle",
    () => {
      let props = {
        className: text("className", ""),
        size: select("size", ["text-smallest", "text-smaller", "text-small","text-base","text-large","text-larger","text-largest","text-jumbo"],"text-larger"),
        iconOption1:text("iconOption1","minus-circle"),
        iconOption2:text("iconOption2","plus-circle"),
        color:text("defaultColor","text-sky")
      }
      return (

        <IconToggle {...props}/>

      )
    }
  )
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 components/IconToggle/IconToggleStory.jsx
playbook_ui-2.7.1 components/IconToggle/IconToggleStory.jsx
playbook_ui-2.7.0 components/IconToggle/IconToggleStory.jsx
playbook_ui-2.6.0 components/IconToggle/IconToggleStory.jsx
playbook_ui-2.5.0 components/IconToggle/IconToggleStory.jsx