Vote count: 0 I'm defining a form in React with Bootstrap and Redux with the following code: import React from 'react'; import { FormGroup, ControlLabel, FormControl, HelpBlock, Button } from 'react-bootstrap'; import { coect } from 'react-redux'; import './actions'; const _c = component => coect(s => s)(component); const FieldGroup = ({ id, label, help, ...props }) => { retu ( {label} {help && {help}} ); }; const LoginForm = _c(React.createClass({ render() { retu (...
ادامه مطلب