-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
51 lines (43 loc) · 795 Bytes
/
types.ts
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import React from "react";
export interface ILayout {
children: React.ReactNode
}
export interface DropDownProps {
setSeason: React.Dispatch<React.SetStateAction<string>>
}
export interface IPathsParams {
params: {
league: string
season: string
}
}
export interface IMatches {
homeTeam: string
awayTeam: string
homeScore: number
awayScore: number
matchDate: string
}
export interface ITables {
rank: number
badge: string
team: string
played: number
win: number
draw: number
loss: number
goalsFor: number
goalsAgainst: number
goalsDifference: number
points: number
}
export interface IMatchesProps {
matches: IMatches[]
}
export interface ITablesProps {
tables: ITables[]
}
export interface ILeagueButton {
src: string
alt: string
}