UNPKG

quarkd

Version:

Mobile UI Components built on Web Components.

43 lines (42 loc) 1.02 kB
import { QuarkElement } from "quarkc"; import "@quarkd/icons/lib/star-fill"; export interface Props { defaultvalue?: number; value?: number; size?: number; disabled?: boolean; readonly?: boolean; activecolor?: string; } export interface CustomEvent { change: (e: { detail: { value: string; }; }) => void; } declare class QuarkRate extends QuarkElement { value: string; name: string; defaultValue: string; size: string; imgicon: string; activecolor: string; disabled: boolean; readonly: boolean; stars: any[]; activeIndex: number; componentDidMount(): void; shouldComponentUpdate(propName: string, oldValue: string | boolean, newValue: string | boolean): boolean; handleChange(i: { id: number; color: string; }): void; initSelect: (value: number) => void; renderIcon: (i: { id: number; color: string; }) => any; render(): any; } export default QuarkRate;