Socket
Socket
Sign inDemoInstall

yui-md

Package Overview
Dependencies
480
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yui-md

Material Design implementation, written in React and Sass.


Version published
Weekly downloads
64
increased by6300%
Maintainers
1
Install size
16.5 MB
Created
Weekly downloads
 

Readme

Source

yui-md

Material Design implementation, written in React and Sass.

Setup/Installation

Todo

Utils

A series of higher-order utility components that allow you to apply styles to your own custom components. For any utility you use, there is a list of props you must pass in to the highest-level component that your render method returns.

applyRipple(WrappedComponent, rippleFilter)

ArgumentsDescription
WrappedComponent <React.Component>The component to apply the filter to.
rippleFilter <function>A predicate called on the onMouseDown event that should return whether or not to execute the ripple.
Props ProvidedDescription
ref <function>Gets a reference to the node that the ripple is placed on.
className <string>The classes placed on the node that the ripple is placed on.
onMouseDown <function>Ripple function executed on the onMouseDown.

FAQs

Last updated on 12 Mar 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc