Sha256: 74abcb8f31c4280addd34c4f01465597f284c60dacc534ee2f32f94accc8b3bd
Contents?: true
Size: 563 Bytes
Versions: 5
Compression:
Stored size: 563 Bytes
Contents
import React from "react" import Panel from "./Panel" import Text from "../Text/Text" import { boolean, text } from "@storybook/addon-knobs" export default function PanelStory(stories) { stories.add("Panel", () => { let props = { collapsible: boolean("collapsible", false), title: text("title", "Hi, World."), titleIcon: text("titleIcon", "apple"), subTitle: text("subTitle", null), } return ( <Panel {...props}> <Text>{`It's gunna be yuge!`}</Text> </Panel> ) } ) }
Version data entries
5 entries across 5 versions & 1 rubygems