import React from 'react'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { SimpleForm, FieldsGroup, RadioGroup, RadioItem, } from 'soapbox/features/forms'; const mapStateToProps = (state, props) => ({ instance: state.get('instance'), openReportCount: state.getIn(['admin', 'open_report_count']), }); export default @connect(mapStateToProps) class RegistrationModePicker extends ImmutablePureComponent { render() { return ( } checked onChange={this.onChange} > } hint={} value='open' /> } hint={} value='approval' /> } hint={} value='closed' /> ); }; }