How to use the @material/select/helper-text/foundation.MDCSelectHelperTextFoundation function in @material/select

To help you get started, we’ve selected a few @material/select 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 material-components / material-components-web-react / packages / select / helper-text / index.tsx View on Github external
componentDidMount() {
    const {setHelperTextFoundation} = this.props;
    this.foundation = new MDCSelectHelperTextFoundation(this.adapter);
    this.foundation.init();
    setHelperTextFoundation && setHelperTextFoundation(this.foundation);
  }