search card - desktop
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import Image, { StaticImageData } from 'next/image'
|
||||
|
||||
export interface TextInputProps {
|
||||
value: string
|
||||
handleChange?: (e: React.ChangeEvent<HTMLInputElement>) => void
|
||||
@@ -16,3 +18,24 @@ export interface ButtonProps {
|
||||
text?: string
|
||||
type?: 'button'
|
||||
}
|
||||
|
||||
export interface SearchCardProps {
|
||||
id: number
|
||||
username: string
|
||||
userImg: string | StaticImageData
|
||||
start_point: string
|
||||
country_from: string
|
||||
country_from_icon: string | StaticImageData
|
||||
country_from_code: string
|
||||
end_point: string
|
||||
country_to: string
|
||||
country_to_icon: string | StaticImageData
|
||||
country_to_code: string
|
||||
cargo_type: string
|
||||
user_request: string
|
||||
moving_type: string
|
||||
estimated_date: Date
|
||||
user_comment: string
|
||||
day_out?: Date
|
||||
day_in?: Date
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user