Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 2x 20x 1x 1x 20x | import { Form, Button, Container, Row, Col } from "react-bootstrap";
const ClearJobLogsForm = ({ callback }) => {
const handleSubmit = (event) => {
event.preventDefault();
callback();
};
return (
<Form onSubmit={handleSubmit}>
<Container>
<Row>
<Col md="auto">
<Button
variant="danger"
type="submit"
data-testid="clearJobLogsButn"
>
Clear Jobs
</Button>
</Col>
</Row>
</Container>
</Form>
);
};
export default ClearJobLogsForm;
|