All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.rating-group.use-rating-group.d.ts Maven / Gradle / Ivy

Go to download

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

The newest version!
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as rating from '@zag-js/rating-group';
export interface UseRatingGroupProps extends Optional, 'id'> {
    /**
     * The initial value of the rating group when it is first rendered.
     * Use when you do not need to control the state of the rating group.
     */
    defaultValue?: rating.Context['value'];
}
export interface UseRatingGroupReturn extends rating.Api {
}
export declare const useRatingGroup: (props?: UseRatingGroupProps) => UseRatingGroupReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy