UNPKG

@codeworker.br/govbr-tw-react

Version:

Biblioteca de componentes React usando Tailwind CSS que implementa o Padrão Digital de Governo.

19 lines (18 loc) 659 B
import React from "react"; type RatingSize = "sm" | "md" | "lg"; type RatingAlignment = "left" | "center" | "right"; type RatingValue = number | null | undefined; export interface RatingProps extends React.HTMLAttributes<HTMLDivElement> { value?: RatingValue; max?: number; size?: RatingSize; alignment?: RatingAlignment; activeClassName?: string; inactiveClassName?: string; showValue?: boolean; } declare const Rating: { ({ value, max, size, alignment, activeClassName, inactiveClassName, showValue, className, ...props }: RatingProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export { Rating };