quarkd
Version:
Mobile UI Components built on Web Components.
45 lines (44 loc) • 1.14 kB
TypeScript
import { QuarkElement } from "quarkc";
export interface Props {
shape?: "round" | "square";
size?: "normal" | "big";
disabled?: boolean;
}
export interface GroupProps {
value?: string;
}
export interface GroupCustomEvent {
change: (e: {
detail: {
value: string;
};
}) => void;
}
declare class QuarkRadio extends QuarkElement {
radiohost: boolean;
shape: string;
size: string;
name: string;
checked: boolean;
disabled: boolean;
classNames: string;
slotRef: any;
componentDidMount(): void;
componentDidUpdate(propName: string, oldValue: string, newValue: string): void;
dealClass: () => void;
handleCheck: () => void;
render(): any;
}
export default QuarkRadio;
declare class QuarkRadioGroup extends QuarkElement {
radiogrouphost: boolean;
value: string;
slotRef: any;
componentDidMount(): void;
shouldComponentUpdate(propName: string, oldValue: string, newValue: string): boolean;
init(): void;
handleSlotChange: () => void;
eventListener: (ev: any) => void;
render(): any;
}
export { QuarkRadioGroup };