How to use the @material/textfield/.MDCTextfield function in @material/textfield

To help you get started, we’ve selected a few @material/textfield 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 prateekbh / preact-material-components / Textfield / index.js View on Github external
componentDidMount() {
    this.setState({
      showFloatingLabel: true
    });
    this.MDComponent = new MDCTextfield(this.control);
  }
  componentWillUnmount() {