UNPKG

cdbreact

Version:

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

34 lines (33 loc) 1 kB
import React from "react"; import PropTypes from "prop-types"; interface Props { className?: string; direction?: string; iconLeft?: boolean; iconRight?: boolean; multiItem?: boolean; onClick?: any; tag?: any; testimonial?: boolean; } declare const Control: { (props: Props): React.JSX.Element; propTypes: { className: PropTypes.Requireable<string>; direction: PropTypes.Requireable<string>; iconLeft: PropTypes.Requireable<boolean>; iconRight: PropTypes.Requireable<boolean>; multiItem: PropTypes.Requireable<boolean>; onClick: PropTypes.Requireable<any>; tag: PropTypes.Requireable<string | ((...args: any[]) => any)>; testimonial: PropTypes.Requireable<boolean>; }; defaultProps: { tag: string; iconRight: boolean; iconLeft: boolean; className: string; }; }; export default Control; export { Control as CDBControl };