Sha256: f315d2bc878fd380af99efb526c54eb71399a3f58f1f066c6eb9e87bb080c704
Contents?: true
Size: 542 Bytes
Versions: 5
Compression:
Stored size: 542 Bytes
Contents
import React from "react" import Spinner from './Spinner' import { boolean, number, select } from "@storybook/addon-knobs" export default function SpinnerStory(stories) { stories.add("Spinner", () => { const props = { active: boolean("active", true), position: select("position", [null, "centered"], null), top: number("top", null), right: number("right", null), bottom: number("bottom", null), left: number("left", null), } return <Spinner {...props} /> } ) }
Version data entries
5 entries across 5 versions & 1 rubygems