Skip to content

ultraeric/yui-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Arguments Description
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 Provided Description
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.

About

Google's Material Design specs implemented in React.JS and SASS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published