{ this.customInputWrapper = node; }}
>
{ this.getCustomInputs(this.getCustomInput, MAX_POLL_CHOICES) }
);
}
render() {
const { intl } = this.props;
const { customPollReq } = this.state;
return (
{intl.formatMessage(intlMessages.pollPaneTitle)}
{intl.formatMessage(intlMessages.quickPollInstruction)}
{this.renderQuickPollBtns()}
{intl.formatMessage(intlMessages.customPollInstruction)}
{!customPollReq ? null : this.renderCustomInputs()}
);
}
}
export default injectIntl(Poll);