v1.0 with SW PWA enabled
This commit is contained in:
24
frontend/node_modules/@radix-ui/react-avatar/dist/index.d.ts
generated
vendored
Normal file
24
frontend/node_modules/@radix-ui/react-avatar/dist/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
||||
import * as React from 'react';
|
||||
import { Primitive } from '@radix-ui/react-primitive';
|
||||
|
||||
declare const createAvatarScope: _radix_ui_react_context.CreateScope;
|
||||
type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
||||
type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
|
||||
interface AvatarProps extends PrimitiveSpanProps {
|
||||
}
|
||||
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
type PrimitiveImageProps = React.ComponentPropsWithoutRef<typeof Primitive.img>;
|
||||
interface AvatarImageProps extends PrimitiveImageProps {
|
||||
onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
|
||||
}
|
||||
declare const AvatarImage: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
||||
interface AvatarFallbackProps extends PrimitiveSpanProps {
|
||||
delayMs?: number;
|
||||
}
|
||||
declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Root: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Image: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
||||
declare const Fallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
|
||||
export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Fallback, Image, Root, createAvatarScope };
|
||||
Reference in New Issue
Block a user