sionInstaller extends PureComponent {
  static get propTypes() {
    return {
      className: PropTypes.string,
      dispatch: PropTypes.func.isRequired,
    };
  }

  install() {
    this.props.dispatch(Actions.installTemporaryExtension());
  }

  render() {
    const { className } = this.props;

    return Localized(
      {
        id: "about-debugging-tmp-extension-install-button",
      },
      dom.button(
        {
          className: `${className} default-button qa-temporary-extension-install-button`,
          onClick: e => this.install(),
        },
        "Load Temporary Add-on…"
      )
    );
  }
}

module.exports = TemporaryExtensionInstaller;
PK