UNPKG

cdbreact

Version:

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

46 lines (45 loc) 1.46 kB
import React from "react"; import PropTypes from "prop-types"; interface Props { className?: string; color?: string; disabled?: [Function, any]; dropleft?: boolean; dropright?: boolean; dropup?: boolean; dropdown?: boolean; position?: string; children?: React.ReactNode; caret?: boolean; size?: string; nav?: boolean; tag?: [Function, string]; onClick?: Function; isOpen?: Function; circle?: boolean; } declare const DropdownToggle: { (props: Props): React.JSX.Element; defaultProps: { "aria-haspopup": boolean; color: string; tag: string; }; propTypes: { className: PropTypes.Requireable<string>; colors: PropTypes.Requireable<string>; circle: PropTypes.Requireable<boolean>; dropleft: PropTypes.Requireable<boolean>; dropright: PropTypes.Requireable<boolean>; dropup: PropTypes.Requireable<boolean>; dropdown: PropTypes.Requireable<boolean>; position: PropTypes.Requireable<string>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; caret: PropTypes.Requireable<boolean>; size: PropTypes.Requireable<string>; nav: PropTypes.Requireable<boolean>; tag: PropTypes.Requireable<string | ((...args: any[]) => any)>; }; }; export default DropdownToggle; export { DropdownToggle as CDBDropdownToggle };