cdbreact
Version:
Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps
21 lines (20 loc) • 479 B
TypeScript
/// <reference types="react" />
import PropTypes from "prop-types";
interface Props {
checked?: boolean;
tag?: string;
className?: string;
}
declare const Switch: {
(props: Props): JSX.Element;
propTypes: {
checked: PropTypes.Requireable<boolean>;
tag: PropTypes.Requireable<string>;
};
defaultProps: {
tag: string;
checked: boolean;
};
};
export default Switch;
export { Switch as CDBSwitch };