Sha256: b67961d8e577ac65656d7864752b7c249663c073d4fce7bf613a533268e90342
Contents?: true
Size: 463 Bytes
Versions: 6
Compression:
Stored size: 463 Bytes
Contents
import React from "react" import moment from "moment" import DOBInput from "./" import { boolean, text } from "@storybook/addon-knobs" import 'react-datetime/css/react-datetime.css' export default function Story(stories) { stories.add("DOBInput", () => { const props = { preventMinor: boolean("Prevent Minor", true), viewDate: text("Default Calendar Date", moment("2000-01-01")) } return ( <DOBInput {...props} /> ) }) }
Version data entries
6 entries across 6 versions & 2 rubygems