search card - desktop

This commit is contained in:
2025-05-14 15:19:02 +03:00
parent e766284333
commit 5827f5d7a5
18 changed files with 366 additions and 17 deletions

View File

@@ -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
}