cdbreact
Version:
Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps
34 lines (33 loc) • 920 B
TypeScript
import React from "react";
import PropTypes from "prop-types";
interface Props {
children?: React.ReactNode;
className?: string;
fixed?: boolean;
hover?: boolean;
rounded?: boolean;
src?: string;
tag?: string;
waves?: any;
}
declare const View: {
(props: Props): React.JSX.Element;
defaultProps: {
className: string;
hover: boolean;
rounded: boolean;
src: string;
tag: string;
};
propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
className: PropTypes.Requireable<string>;
fixed: PropTypes.Requireable<boolean>;
hover: PropTypes.Requireable<boolean>;
rounded: PropTypes.Requireable<boolean>;
src: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string>;
};
};
export default View;
export { View as CDBView };