Skip to content

Commit

Permalink
Changed label from text to icon
Browse files Browse the repository at this point in the history
  • Loading branch information
a-limyr committed Sep 27, 2024
1 parent ef4a6c3 commit 25194e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Form } from 'react-bootstrap';
import wheelchairIcon from '../../static/img/wheelchair.svg';
import { TripQueryVariables } from '../../gql/graphql.ts';

export default function WheelchairAccessibleCheckBox({
Expand All @@ -11,7 +12,14 @@ export default function WheelchairAccessibleCheckBox({
return (
<Form.Group>
<Form.Label column="sm" htmlFor="wheelchairAccessibleCheck">
Wheelchair accessible trip
<img
alt="Wheelchair Accessible Trip"
title="Wheelchair Accessible Trip"
src={wheelchairIcon}
width="20"
height="20"
className="d-inline-block align-middle"
/>
</Form.Label>
<Form.Check
id="wheelchairAccessible"
Expand Down
6 changes: 6 additions & 0 deletions client/src/static/img/wheelchair.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25194e2

Please sign in to comment.