UNPKG

cdbreact

Version:

Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps

21 lines (20 loc) 480 B
import React from "react"; import PropTypes from "prop-types"; interface Props { checked?: boolean; tag?: string; className?: string; } declare const Switch: { (props: Props): React.JSX.Element; propTypes: { checked: PropTypes.Requireable<boolean>; tag: PropTypes.Requireable<string>; }; defaultProps: { tag: string; checked: boolean; }; }; export default Switch; export { Switch as CDBSwitch };