New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@wpmudev/react-button

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wpmudev/react-button

WPMU DEV Shared UI React Button Component

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
3
Created
Source

License: GPLv3 npm npm peer dependency version

React Button

React Button allows you include a button on your project.

Installation

npm i @wpmudev/react-button --save-dev

Usage

Javascript Instantiation

import React from 'react';
import {
  Button
} from '@wpmudev/react-button';

const MyApp = () => {
  return (
    <Button label="Click Me" />
  );
}

Props

Prop NameTypeDescription
labelStringAdd some text to your button.
iconStringIcon to render within root element.
iconRightBooleanWill make the icon display to the right of the label if true.
designStringWhen using ghost enables outlined variant.
colorStringType color name to change button default color.
hrefStringSets a hyperlink & uses anchor tag instead of a button.
loadingBooleanSets button in loading state if true.
disabledBooleanDisables button if true.

FAQs

Package last updated on 30 May 2022

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