src/components/Button/Button.jsx

The only true button.

Prop nameDescriptionDefault
color

The color for the button.

string

#333

shape

The shape of my heart

PropTypes.shape({
    color: PropTypes.string,
    fontSize: PropTypes.number
})

-

size

The size of the button small, normal, large

VueTypes.string.def('normal')

-

SlotDescription
default
-

Basic button:

Big pink button and small blue button:

And you can use any Markdown here.

Fenced code blocks with vue, js, jsx or javascript languages are rendered as a interactive playgrounds:

You can also use the Single File Component Format


Next Dog Name: Bella

Vue Styleguidist jsx

1.1.1