UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

11 lines (10 loc) 374 B
import React, { ChangeEvent, ReactElement } from 'react'; export interface SwitchProps { className?: string; style?: React.CSSProperties; checked?: boolean; disabled?: boolean; onChange?(e: ChangeEvent<HTMLInputElement>): void; } declare const Switch: ({ checked, onChange, disabled, className, style, }: SwitchProps) => ReactElement; export { Switch };