UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

50 lines (49 loc) 1.79 kB
import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { ratings?: { label: string; rating: number; }[]; divClass?: string; labelClass?: string; ratingDivClass?: string; ratingClass?: string; rightLabelClass?: string; unit?: string; classDiv?: string; classLabel?: string; classRatingDiv?: string; classRating?: string; classRightLabel?: string; }; events: { [evt: string]: CustomEvent<any>; }; slots: { rating: {}; globalText: {}; }; }; export type AdvancedRatingProps = typeof __propDef.props; export type AdvancedRatingEvents = typeof __propDef.events; export type AdvancedRatingSlots = typeof __propDef.slots; /** * [Go to docs](https://flowbite-svelte.com/) * ## Props * @prop export let ratings: { label: string; * @prop export let divClass: string = 'flex items-center mt-4'; * @prop export let labelClass: string = 'text-sm font-medium text-gray-600 dark:text-gray-500'; * @prop export let ratingDivClass: string = 'mx-4 w-2/4 h-5 bg-gray-200 rounded-sm dark:bg-gray-700'; * @prop export let ratingClass: string = 'h-5 bg-yellow-400 rounded-sm'; * @prop export let rightLabelClass: string = 'text-sm font-medium text-gray-600 dark:text-gray-500'; * @prop export let unit: string = '%'; * @prop export let classDiv: string = ''; * @prop export let classLabel: string = ''; * @prop export let classRatingDiv: string = ''; * @prop export let classRating: string = ''; * @prop export let classRightLabel: string = ''; */ export default class AdvancedRating extends SvelteComponentTyped<AdvancedRatingProps, AdvancedRatingEvents, AdvancedRatingSlots> { } export {};