UNPKG

@project-jade-garden/bits-ui

Version:
24 lines (23 loc) 850 B
import { SVATraits } from 'jade-garden'; /** * **Avatar** * @description Represents a user or entity with a recognizable image or placeholder in UI elements. * @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference) */ export declare const slots: readonly ["root", "image", "fallback"]; /** * **Avatar** * @description Represents a user or entity with a recognizable image or placeholder in UI elements. * @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference) */ export type Slots = (typeof slots)[number]; /** * **Avatar** * @description Represents a user or entity with a recognizable image or placeholder in UI elements. * @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference) */ export type Traits = SVATraits<Slots, { root: {}; image: {}; fallback: {}; }>;