quarkd
Version:
Mobile UI Components built on Web Components.
24 lines (23 loc) • 603 B
TypeScript
import { QuarkElement } from "quarkc";
export interface Props {
type?: "dot" | "round" | "label";
content?: string;
size?: "normal" | "big";
border?: boolean;
max?: number;
}
declare class QuarkBadge extends QuarkElement {
type: string;
content: string;
size: string;
border: boolean;
max: string;
classNames: string;
slotRef: any;
componentDidMount(): void;
componentDidUpdate(propName: string, oldValue: string, newValue: string): void;
dealClass: () => void;
renderContent: () => string;
render(): any;
}
export default QuarkBadge;