UNPKG

cdbreact

Version:

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

28 lines (27 loc) 765 B
import React from "react"; import PropTypes from "prop-types"; interface Props { children?: React.ReactNode; className?: string; overlay?: string; pattern?: [string, number]; tag?: string; } declare const Mask: { (props: Props): React.JSX.Element; propTypes: { children: PropTypes.Requireable<PropTypes.ReactNodeLike>; className: PropTypes.Requireable<string>; overlay: PropTypes.Requireable<string>; pattern: PropTypes.Requireable<string | number>; tag: PropTypes.Requireable<string>; }; defaultProps: { className: string; overlay: string; pattern: string; tag: string; }; }; export default Mask; export { Mask as CDBMask };