cdbreact
Version:
Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps
30 lines (29 loc) • 894 B
TypeScript
import React from 'react';
import PropTypes from 'prop-types';
interface Props {
children?: React.ReactNode;
className?: string;
image?: string;
left?: boolean;
right?: boolean;
tag?: [Function, string];
type?: "reset" | "submit" | "button";
}
declare const NavToggle: {
(props: Props): JSX.Element;
propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
className: PropTypes.Requireable<string>;
image: PropTypes.Requireable<string>;
left: PropTypes.Requireable<boolean>;
right: PropTypes.Requireable<boolean>;
tag: PropTypes.Requireable<string | ((...args: any[]) => any)>;
type: PropTypes.Requireable<string>;
};
defaultProps: {
tag: string;
type: string;
};
};
export default NavToggle;
export { NavToggle as CDBNavToggle };