Skip to content

Commit 9e74504

Browse files
committed
exported interface to frontendtypes.ts
1 parent 3a3ed33 commit 9e74504

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/app/components/Dropdown.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import React from 'react';
22
import Select from 'react-select';
3-
4-
interface DropdownProps {
5-
selectedSpeed: { value: number; label: string };
6-
speeds: { value: number; label: string }[];
7-
setSpeed: () => void;
8-
}
3+
import { DropdownProps } from '../components/FrontendTypes'
94

105
const Dropdown = (props: DropdownProps): JSX.Element => {
116
const { speeds, setSpeed, selectedSpeed } = props;

0 commit comments

Comments
 (0)