flowbite-svelte
Version:
Flowbite components for Svelte
52 lines (51 loc) • 2.08 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
ratings: {
label: string;
rating: number;
}[];
ratings2: {
label: string;
rating: number;
}[];
headerLabel: {
desc1?: string;
desc2?: string;
desc3?: string;
link?: {
label: string;
url: string;
};
};
desc1Class?: string;
desc2Class?: string;
desc3spanClass?: string;
desc3pClass?: string;
linkClass?: string;
barColor?: string;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type ScoreRatingProps = typeof __propDef.props;
export type ScoreRatingEvents = typeof __propDef.events;
export type ScoreRatingSlots = typeof __propDef.slots;
/**
* [Go to docs](https://flowbite-svelte.com/)
* ## Props
* @prop export let ratings: $$Props['ratings'] = [];
* @prop export let ratings2: $$Props['ratings2'] = [];
* @prop export let headerLabel: $$Props['headerLabel'];
* @prop export let desc1Class: $$Props['desc1Class'] = 'bg-primary-100 w-8 text-primary-800 text-sm font-semibold inline-flex items-center p-1.5 rounded-sm dark:bg-primary-200 dark:text-primary-800';
* @prop export let desc2Class: $$Props['desc2Class'] = 'ms-2 w-24 font-medium text-gray-900 dark:text-white';
* @prop export let desc3spanClass: $$Props['desc3spanClass'] = 'mx-2 w-1 h-1 bg-gray-900 rounded-full dark:bg-gray-500';
* @prop export let desc3pClass: $$Props['desc3pClass'] = 'text-sm w-24 font-medium text-gray-500 dark:text-gray-400';
* @prop export let linkClass: $$Props['linkClass'] = 'ms-auto w-32 text-sm font-medium text-primary-600 hover:underline dark:text-primary-500';
* @prop export let barColor: $$Props['barColor'] = 'bg-primary-600 h-2.5 rounded-sm dark:bg-primary-500';
*/
export default class ScoreRating extends SvelteComponentTyped<ScoreRatingProps, ScoreRatingEvents, ScoreRatingSlots> {
}
export {};