import React from "react" import classnames from 'classnames' import { Button } from "react-bootstrap" import Icon from "../Icon/Icon" import { text, select } from "@storybook/addon-knobs" export default function ButtonStory(stories) { stories.add("Solid Buttons", () => { let props = { className: text("className", "btn-default"), text: text("text", "Click Me"), type: select("type", ["anchor", "button", "submit", ""], "button"), cap: select("cap",["left", "right", "top", "bottom","none"],"none"), } const cap = `cap-${props.cap}` return (
) } ) stories.add("Ghost Buttons", () => { const props = { className: text("className", "btn-ghost-power-royal"), } const cap = `cap-${props.cap}` return (
) } ) stories.add("Card Toggle Buttons", () => { const props = { className: text("className", "btn-card-toggle"), type: select("type", ["anchor", "button", "submit", ""], "button") } return ( ) } ) }