Skip to content
Snippets Groups Projects
Verified Commit 4799f31e authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Move props type external file.

parent b2b2df15
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!55Refactoring to reservation page.
...@@ -10,6 +10,7 @@ import { ...@@ -10,6 +10,7 @@ import {
TableHead, TableHead,
TableRow, TableRow,
} from '@material-ui/core'; } from '@material-ui/core';
import { ReservationProps } from './ReservationProps';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
noShadow: { noShadow: {
...@@ -19,13 +20,6 @@ const useStyles = makeStyles(() => ({ ...@@ -19,13 +20,6 @@ const useStyles = makeStyles(() => ({
}, },
})); }));
type ReservationProps = {
departure: string;
destination: string;
time: string;
date: string;
};
export const Reservation: FC<ReservationProps> = ({ export const Reservation: FC<ReservationProps> = ({
departure, departure,
destination, destination,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment