quarkd
Version:
Mobile UI Components built on Web Components.
37 lines (36 loc) • 823 B
TypeScript
import { QuarkElement } from "quarkc";
export interface Props {
column?: number;
noborder?: boolean;
square?: boolean;
}
export interface ItemProps {
text?: string;
icon?: string;
iconsize?: string;
}
declare class QuarkGridItem extends QuarkElement {
text: string;
icon: string;
iconsize?: string;
style: any;
setStyle: (style: any) => void;
renderIcon: () => any;
render(): any;
}
export { QuarkGridItem };
declare class QuarkGrid extends QuarkElement {
column: string;
noborder: boolean;
square: boolean;
slotRef: any;
getNodeStyle: (index: number) => {
width: string;
height: string;
borderRight: string;
borderBottom: string;
};
handleSlotChange: () => void;
render(): any;
}
export default QuarkGrid;