You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
569 B
17 lines
569 B
|
4 months ago
|
import { Component } from '../../core';
|
||
|
|
import type { Group } from '../../shapes';
|
||
|
|
import type { CheckboxOptions, CheckboxStyleProps } from './types';
|
||
|
|
export type { CheckboxStyleProps, CheckboxOptions };
|
||
|
|
export declare class Checkbox extends Component<CheckboxStyleProps> {
|
||
|
|
/**
|
||
|
|
* 组件 checkbox
|
||
|
|
*/
|
||
|
|
static tag: string;
|
||
|
|
/** checkbox 的背景方框组件 */
|
||
|
|
private checkboxBoxShape;
|
||
|
|
/** 值 */
|
||
|
|
private checked;
|
||
|
|
constructor(options: CheckboxOptions);
|
||
|
|
render(attributes: Required<CheckboxStyleProps>, container: Group): void;
|
||
|
|
}
|