I want to create simple block buttons, that span the entire div. I am using react-bootstrap package to do this in React. Here is the code I am using:-
<Container>
<Row className="justify-content-center">
<Col xs={10} sm={5} md={3}>
<Form className="form-container">
<Form.Group controlId="formEmail" className="form-element">
<Form.Label>Enter Email Address</Form.Label>
<Form.Control type="email" placeholder="Email Address"></Form.Control>
</Form.Group>
<Form.Group controlId="formPwd" className="form-element">
<Form.Label>Enter Password</Form.Label>
<Form.Control type="password" placeholder="Password"></Form.Control>
</Form.Group>
<Form.Group className="form-element">
<Button variant="outline-primary" type="submit" block>Login</Button>
</Form.Group>
</Form>
</Col>
</Row>
</Container>
However, the resulting button created is not of block type.
Here is the output generated:-

The button should span the same width as the text areas above. How do I create this block button?

