A next-generation tool to create blazing-fast documentation sites
API
created:12/30/2020
updated:12/30/2020
loc
45
comments
62%

Template bind

You can bind stories to templates to reduce the amount of repetitive code. Click on the

button above to see how the templates are linked to the stories.

import { Button } from 'component-controls-stories';

John

Name
Description
Default
Controls
disabled

Boolean indicating whether the button should render as disabled

boolean
false
children

button label

(string & (boolean | ReactChild | ReactFragment | ReactPortal | null))
default
onClick

onClick handler

(() => void)
() => {}
style

Custom styles

object
{}
backgroundColor

Background color

string
#fefefe
color

Text color, default black

string
black
type

Button type

buttonresetsubmit
button
padding

Numeric field type

number
5

Commits

Date
Author
Commit Message
12/8/2020

atanasster

avatar of atanasster
feat: addon-stats
11/15/2020

atanasster

avatar of atanasster
feat: bind templates to stories
6/30/2020

atanasster

avatar of atanasster
docs: update gatsby starter
4/14/2020

atanasster

avatar of atanasster
feat: storybook without docs addon
4 commits
package
imports
peer
react
ReactFC

Stories

Mary