Skip to content

Commit

Permalink
added Location type
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomcv committed Jul 19, 2020
1 parent 81e59dc commit 3131aaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/LocationSelector/LocationSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React, { FunctionComponent, ChangeEventHandler } from 'react';
import './LocationSelector.scss';
import { Location } from '../../sharedTypes';

interface LocationSelectorProps {
onChange: ChangeEventHandler<HTMLSelectElement>;
value: string;
value: Location;
}

const LocationSelector: FunctionComponent<LocationSelectorProps> = ({ onChange, value }) => (
Expand Down

0 comments on commit 3131aaf

Please sign in to comment.