Files
workavia-calendar-front/src/declarations.ts
T
2026-04-13 10:30:47 +07:00

44 lines
990 B
TypeScript

declare module '*.styl'
declare module 'classnames' {
type ClassValue =
| string
| number
| boolean
| null
| undefined
| ClassArray
| ClassDictionary
interface ClassDictionary {
[id: string]: boolean | undefined | null
}
type ClassArray = ClassValue[]
function classnames(...args: ClassValue[]): string
export = classnames
}
declare module '@linagora/twake-mui' {
export * from '@mui/material'
export function useTheme<T = import('@mui/material').Theme>(): T
export type AvatarSize = 'xs' | 's' | 'm' | 'l' | 'xl'
export type AvatarDisplay = 'initial' | 'inline'
export interface AvatarProps extends Omit<
import('@mui/material').AvatarProps,
'color'
> {
color?: string
size?: AvatarSize | number
border?: boolean
innerBorder?: boolean
disabled?: boolean
display?: AvatarDisplay
}
export const Avatar: import('react').FC<AvatarProps>
export const radius: Record<string, string | number>
}