/// import { clutch as IClutch } from "@clutch-sh/api"; import type { IconSizeVariant } from "../Assets/global"; import type { IconButtonSize } from "../button"; export declare type Rating = { emoji: string; label: string; }; declare type EmojiRatingsProps = { ratings: IClutch.feedback.v1.IRatingLabel[]; setRating: (Rating: any) => void; placement?: "top" | "bottom"; buttonSize?: IconButtonSize; emojiSize?: IconSizeVariant; }; /** * EmojiRatings component which will take an array of emojis and given ratings and create IconButtons with them and return them on selection * * @param ratings given array of ratings to display * @param setRating function which will return the given selected rating * @returns rendered EmojiRatings component */ declare const EmojiRatings: ({ ratings, setRating, placement, buttonSize, emojiSize, }: EmojiRatingsProps) => JSX.Element; export default EmojiRatings; //# sourceMappingURL=emojiRatings.d.ts.map