UNPKG

@omiu/switch

Version:
15 lines (14 loc) 310 B
import { WeElement } from 'omi'; interface Props { checked: boolean; } export default class Switch extends WeElement<Props> { static css: any; static propTypes: { checked: BooleanConstructor; }; _ele: any; onChange: () => void; render(props: any): JSX.Element; } export {};