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

Smart PropTypes

Button with react PropTypes

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

All Props

Name
Description
Default
disabled

Boolean indicating whether the button should render as disabled

boolean
false
children

button label

string
'default'
onClick

onClick handler

function
() => {}
style

Custom styles

object
{}
backgroundColor

Background color

string
'#fefefe'
color

Text color, default black

string
'black'
type

Button type

'button''reset''submit'
'button'
padding

Numeric field type

number
5

Commits

Date
Author
Commit Message
6/30/2020

atanasster

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

atanasster

avatar of atanasster
feat: storybook without docs addon
2 commits
package
imports
peer
polished
lighten
prop-types
PropTypes
react
React

Stories

Only Colors

No Colors

No Props