New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@jouwomgeving/ui-button

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jouwomgeving/ui-button

Dictator package JO ui button


Version published
Weekly downloads
2
decreased by-84.62%
Maintainers
9
Weekly downloads
 
Created

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

FAQs

Package last updated on 02 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts