keep-vue
Version:
Keep Vue is an open-source component library built on top of Vue3 and Tailwind CSS. It offers a collection of pre-designed UI components and styles that you can easily integrate into your web applications.
9 lines (8 loc) • 359 B
TypeScript
type RatingContextProps = (value: number | undefined) => void;
declare const useProvideRatingStore: (handleRating: RatingContextProps | undefined) => {
handleRating: RatingContextProps | undefined;
};
declare function useRatingStoreOrThrow(): {
handleRating: RatingContextProps | undefined;
};
export { useProvideRatingStore, useRatingStoreOrThrow };