Socket
Socket
Sign inDemoInstall

@rmwc/button

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/button - npm Package Compare versions

Comparing version 14.2.8 to 14.2.9

index.d.ts

12

package.json
{
"name": "@rmwc/button",
"version": "14.2.8",
"version": "14.2.9",
"main": "./index.js",

@@ -41,8 +41,8 @@ "types": "./index.d.ts",

"@material/button": "^14.0.0",
"@rmwc/base": "14.2.8",
"@rmwc/icon": "14.2.8",
"@rmwc/provider": "14.2.8",
"@rmwc/ripple": "14.2.8",
"@rmwc/types": "14.2.8"
"@rmwc/base": "14.2.9",
"@rmwc/icon": "14.2.9",
"@rmwc/provider": "14.2.9",
"@rmwc/ripple": "14.2.9",
"@rmwc/types": "14.2.9"
}
}

@@ -47,3 +47,7 @@ # Buttons

<>
<Button label="With Theme" raised theme={['secondaryBg', 'onSecondary']} />
<Button
label="With Theme"
raised
theme={['secondaryBg', 'onSecondary']}
/>
{/**

@@ -74,3 +78,2 @@ This example uses "accent" to control the color of the Ripple.

## Button
The Button component.

@@ -80,15 +83,17 @@

| Name | Type | Description |
| -------------- | ------------- | --------------------------------------------------------------------------------------------------------------- |
| `children` | `ReactNode` | Content specified as children. |
| `danger` | `boolean` | Used to indicate a dangerous action. |
| `dense` | `boolean` | Make the Button dense. |
| `disabled` | `boolean` | Make the button disabled |
| `icon` | `IconPropT` | An Icon for the Button |
| `label` | `any` | Content specified as a label prop. |
| `outlined` | `boolean` | Make the button outlined. |
| `raised` | `boolean` | Make the Button raised. |
| `ripple` | `RipplePropT` | Adds a ripple effect to the component |
| `touch` | `boolean` | Makes the button more touch friendly. This will automatically be set true if used inside of TouchTargetWrapper. |
| `trailingIcon` | `IconPropT` | A trailing icon for the Button |
| `unelevated` | `boolean` | Make the button unelevated. |
| Name | Type | Description |
|------|------|-------------|
| `children` | `ReactNode` | Content specified as children. |
| `danger` | `boolean` | Used to indicate a dangerous action. |
| `dense` | `boolean` | Make the Button dense. |
| `disabled` | `boolean` | Make the button disabled |
| `icon` | `IconPropT` | An Icon for the Button |
| `label` | `any` | Content specified as a label prop. |
| `outlined` | `boolean` | Make the button outlined. |
| `raised` | `boolean` | Make the Button raised. |
| `ripple` | `RipplePropT` | Adds a ripple effect to the component |
| `touch` | `boolean` | Makes the button more touch friendly. This will automatically be set true if used inside of TouchTargetWrapper. |
| `trailingIcon` | `IconPropT` | A trailing icon for the Button |
| `unelevated` | `boolean` | Make the button unelevated. |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc