コード例 #1
0
  render () {
    const { dispatch, _T } = this.props
    const title = _T('title.manage')
    const defaultTitle = _T('title.site')

    return (
      <div>
        <Helmet title={`${title} | ${defaultTitle}`} />
        <Manage
          {...bindActionCreators(UserActions, dispatch)}
          {...this.props}
          loadFunc={this.loadFunc}
          options={ManageFormOptions(this.props.defaultLocale)} />
      </div>
    )
  }
コード例 #2
0
}))(connectI18n(locale => ({
  options: ManageFormOptions(locale)
}))(ManageHandler))