UNPKG

cdbreact

Version:

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

27 lines (26 loc) 722 B
import React from "react"; import PropTypes from "prop-types"; interface Props { className?: string; color?: string; tag?: string; border?: boolean; style?: React.CSSProperties; children?: React.ReactNode; } declare const Card: { (props: Props): React.JSX.Element; propTypes: { className: PropTypes.Requireable<string>; color: PropTypes.Requireable<string>; tag: PropTypes.Requireable<string>; border: PropTypes.Requireable<boolean>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; }; defaultProps: { tag: string; border: boolean; }; }; export default Card; export { Card as CDBCard };