3.0.1 • Published 1 year ago

@jouwomgeving/ui-button v3.0.1

Weekly downloads
1
License
UNLICENSED
Repository
bitbucket
Last release
1 year ago

ui-button

$ npm install @jouwomgeving/ui-button

Button

Usage

import React from 'react';

import * as Button from '@jouwomgeving/ui-form';

const Layout = () => (
  <div>
    <Button.default label="1">
  </div>
);

export default Layout;

About

The main JO button component, this is a button which contains multiple styles.

Properties

PropValuesDefaultRequired
prefixReactElementNo
suffixReactElementNo
labelstringYes
typeprimary, secondaryprimaryNo
disabledbooleanfalseNo

Group

Usage

import React from 'react';

import * as Button from '@jouwomgeving/ui-form';

const Layout = () => (
  <Button.Group>
    <Button.default label="1">
    <Button.default label="2">
    <Button.default label="3">
    <Button.default label="4">
  </Button.Group>
);

export default Layout;

About

A Wrapper for the Button which will be used to give the Button component no rounded borders. Also it support vertical and horizontal directions.

Properties

PropValuesDefaultRequired
directionhorizontal, verticalhorizontalYes
childrenReactElementYes
3.0.1

1 year ago

3.0.0

1 year ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.10

5 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.3-beta

9 years ago

0.0.2

9 years ago