material-components
Version:
Stateless UI components for react that follow material design
31 lines (24 loc) • 590 B
JavaScript
Object.defineProperty(exports, '__esModule', {
value: true
});
var _exenv = require('exenv');
var Waves = undefined;
if (_exenv.canUseDOM) {
Waves = require('node-waves');
Waves.init({
// How long Waves effect duration
// when it's clicked (in milliseconds)
duration: 500,
// Delay showing Waves effect on touch
// and hide the effect if user scrolls
// (0 to disable delay) (in milliseconds)
delay: 200
});
} else {
Waves = {
attach: function attach() {}
};
}
exports['default'] = Waves;
module.exports = exports['default'];
;