0.4.0 • Published 6 years ago

@roo-ui/button v0.4.0

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

Button

Installation

$ yarn add @roo-ui/button

Example

import Button, { OutlineButton } from '@roo-ui/button';

export default (
  <Fragment>
    <Button>Hello world</Button>
    <OutlineButton>Hello world</OutlineButton>
  </Fragment>
);

Properties

NameDescriptionTypeDefaultRequired?
childrenbutton contentnode-✔︎
primaryuse the primary colorboolfalse-
roundeduse a rounded borderboolfalse-
disableddisable the buttonboolfalse-

Customization

This component can be customized with styled-system by passing props for space, color, or box shadow.

0.4.0

6 years ago

0.3.3

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago