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
493 B
17 lines
493 B
|
4 months ago
|
import { Component } from '../../core';
|
||
|
|
import type { Group } from '../../shapes';
|
||
|
|
import type { SwitchOptions, SwitchStyleProps } from './types';
|
||
|
|
export type { SwitchStyleProps, SwitchOptions };
|
||
|
|
export declare class Switch extends Component<SwitchStyleProps> {
|
||
|
|
/**
|
||
|
|
* 组件 switch
|
||
|
|
*/
|
||
|
|
static tag: string;
|
||
|
|
/**
|
||
|
|
* 开关
|
||
|
|
*/
|
||
|
|
private checked;
|
||
|
|
constructor(options: SwitchOptions);
|
||
|
|
render(attributes: Required<SwitchStyleProps>, container: Group): void;
|
||
|
|
}
|