Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/fab

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/fab - npm Package Compare versions

Comparing version 1.10.1-alpha.0 to 2.0.0-alpha.0

docgen.json

12

package.json
{
"name": "@rmwc/fab",
"version": "1.10.1-alpha.0",
"version": "2.0.0-alpha.0",
"description": "RMWC Floating Action Button component",

@@ -23,3 +23,3 @@ "main": "index.js",

},
"homepage": "https://github.com/jamesmfriedman/rmwc/tree/master/src/Fab#readme",
"homepage": "https://github.com/jamesmfriedman/rmwc/tree/master/src/fab#readme",
"peerDependencies": {

@@ -30,6 +30,6 @@ "react": "^15.x.x || ^16.x.x",

"dependencies": {
"@rmwc/base": "^1.10.1-alpha.0",
"@rmwc/icon": "^1.10.1-alpha.0",
"@rmwc/provider": "^1.10.1-alpha.0",
"@rmwc/ripple": "^1.10.1-alpha.0",
"@rmwc/base": "^2.0.0-alpha.0",
"@rmwc/icon": "^2.0.0-alpha.0",
"@rmwc/provider": "^2.0.0-alpha.0",
"@rmwc/ripple": "^2.0.0-alpha.0",
"classnames": "^2.2.5",

@@ -36,0 +36,0 @@ "prop-types": "^15.6.1"

# Fabs
- import from **rmwc/Fab**
- import styles from **@material/fab/dist/mdc.fab.css**
- [https://material.io/develop/web/components/buttons/floating-action-buttons/](https://material.io/develop/web/components/buttons/floating-action-buttons/)
- import * from **'@rmwc/fab'**;
- import styles:
- import **'@material/fab/dist/mdc.fab.css'**;
- MDC Docs:[https://material.io/develop/web/components/buttons/floating-action-buttons/](https://material.io/develop/web/components/buttons/floating-action-buttons/)
```jsx render
import { Fab } from 'rmwc/Fab';
import { Fab } from '@rmwc/fab';

@@ -16,5 +17,6 @@ <Fab icon="favorite" />

```jsx renderOnly
import { DocumentComponent } from 'rmwc/Base/utils/DocumentComponent';
import { DocumentComponent } from '@rmwc/base/utils/DocumentComponent';
import * as docs from './docgen.json';
<DocumentComponent displayName="Fab" composes={['Icon']} />
<DocumentComponent docs={docs} displayName="Fab" composes={['Icon']} />
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc