How to use material-design-lite - 10 common examples

To help you get started, we’ve selected a few material-design-lite examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github samrocksc / react-material-design-lite / src / slider.js View on Github external
componentWillUnmount() {
    const node = this._element;
    mdl.downgradeElements(node);
  }
/* eslint-disable no-unused-vars */
github samrocksc / react-material-design-lite / src / progress.js View on Github external
componentDidMount() {
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialProgress');
  }
github samrocksc / react-material-design-lite / src / icon-toggle.js View on Github external
componentDidMount(){
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialIconToggle');
  }
github samrocksc / react-material-design-lite / src / checkbox.js View on Github external
componentDidMount() {
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialCheckbox');
  }
github samrocksc / react-material-design-lite / src / spinner.js View on Github external
componentDidMount(){
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialSpinner');
  }
github samrocksc / react-material-design-lite / src / button.js View on Github external
componentDidMount(){
    const { ripple } = this.props;

    const node = this._element;
    mdl.upgradeElement(node, 'MaterialButton');

    if(ripple){
      mdl.upgradeElement(node, 'MaterialRipple');
    }
  }
github samrocksc / react-material-design-lite / src / text-field.js View on Github external
componentDidMount(){
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialTextfield');
  }
github samrocksc / react-material-design-lite / src / switch.js View on Github external
componentDidMount() {
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialSwitch');
  }
github samrocksc / react-material-design-lite / src / radio.js View on Github external
componentDidMount() {
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialRadio');
  }
github samrocksc / react-material-design-lite / src / slider.js View on Github external
componentDidMount() {
    const node = this._element;
    mdl.upgradeElement(node, 'MaterialSlider');
  }

material-design-lite

Material Design Components in CSS, JS and HTML

Apache-2.0
Latest version published 8 years ago

Package Health Score

71 / 100
Full package analysis