Sha256: ffcc354611a3bc20114f6bcc5304d31f831ae728f788fe44777024e4b05907b5
Contents?: true
Size: 593 Bytes
Versions: 5
Compression:
Stored size: 593 Bytes
Contents
import React from "react" import TextInput from "./TextInput" // import FormControl from 'react-bootstrap/lib/FormControl' import { text, select, boolean } from "@storybook/addon-knobs" export default function TextInputStory(stories) { stories.add("Text Input", () => { let props = { className: text("className", ""), kind: select("kind", ["input", "select", "textarea"], "input"), disabled: boolean("disabled", false), } return ( <div className="container my-5"> <TextInput {...props} /> </div> ) } ) }
Version data entries
5 entries across 5 versions & 1 rubygems