У меня react-bootstrap
Button
внутри react-bootstrap
Row
.Как установить идентификатор для динамически генерируемой кнопки внутри элемента Row
?
import { Row, Col, FormControl, Button, Collapse, Well } from 'react-bootstrap';
// ...
<Row>
<Col lg={1} xs={1}>
<Button
id="btnSteps"
className="ExpandCollapseButton"
onClick={() => {}}
>
{/* ... */}
</Button>
{/* ... */}
</Col>
</Row>