Files
afilmory/apps/ssr/global.d.ts
Innei 96400b1775 feat: support share to external via iframe
- 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>
2025-06-29 23:09:57 +08:00

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