Sha256: 6e2aef1ce02b3191a509372fe0acc5ad9441a30e321fbf616f804b006329990b

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 Bytes

Contents

import React from "react"
import Icon from "./Icon"
import { Button } from "react-bootstrap"

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

export default function IconStory(stories) {
  stories.add("Button With Icon",
    () => {
      let props = {
        className: text("className", ""),
        name: text("name", "plus-circle"),
        label: text("label", "Add User"),
      }
      return (
        <Button><Icon {...props}/></Button>
      )
    }
  )
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 components/Icon/IconButtonStory.jsx
playbook_ui-2.7.1 components/Icon/IconButtonStory.jsx
playbook_ui-2.7.0 components/Icon/IconButtonStory.jsx
playbook_ui-2.6.0 components/Icon/IconButtonStory.jsx
playbook_ui-2.5.0 components/Icon/IconButtonStory.jsx