mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
- Added Tailwind CSS plugins and configurations to improve styling across the application. - Introduced new global styles and layout components for better structure and design consistency. - Implemented a MasonryGallery component for responsive photo display. - Enhanced photo item rendering with EXIF data and improved loading states. - Updated package dependencies to include new Tailwind CSS utilities and components. Signed-off-by: Innei <tukon479@gmail.com>
43 lines
939 B
TypeScript
43 lines
939 B
TypeScript
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
import type { FC, PropsWithChildren } from 'react'
|
|
|
|
declare global {
|
|
export type NextErrorProps = {
|
|
reset: () => void
|
|
error: Error
|
|
}
|
|
export type NextPageParams<P extends {}, Props = {}> = PropsWithChildren<
|
|
{
|
|
params: Promise<P>
|
|
searchParams: Promise<Record<string, string | string[] | undefined>>
|
|
} & Props
|
|
>
|
|
|
|
export type NextPageExtractedParams<
|
|
P extends {},
|
|
Props = {},
|
|
> = PropsWithChildren<
|
|
{
|
|
params: P
|
|
searchParams: Promise<Record<string, string | string[] | undefined>>
|
|
} & Props
|
|
>
|
|
|
|
export type Component<P = {}> = FC<ComponentType & P>
|
|
|
|
export type ComponentType<P = {}> = {
|
|
className?: string
|
|
} & PropsWithChildren &
|
|
P
|
|
}
|
|
|
|
declare module 'react' {
|
|
export interface AriaAttributes {
|
|
'data-hide-print'?: boolean
|
|
'data-event'?: string
|
|
'data-testid'?: string
|
|
}
|
|
}
|
|
|
|
export {}
|