@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
9 lines (8 loc) • 371 B
TypeScript
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as avatar from '@zag-js/avatar';
export interface UseAvatarProps extends Optional<Omit<avatar.Props, 'dir' | 'getRootNode'>, 'id'> {
}
export interface UseAvatarReturn extends avatar.Api<PropTypes> {
}
export declare const useAvatar: (props?: UseAvatarProps) => UseAvatarReturn;