cdbreact
Version:
Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps
28 lines (27 loc) • 759 B
TypeScript
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): 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 };