cdbreact
Version:
Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps
35 lines (34 loc) • 975 B
TypeScript
import React from "react";
import PropTypes from "prop-types";
interface Props {
className?: string;
tag?: string;
size?: string;
success?: boolean;
secondary?: boolean;
dark?: boolean;
danger?: boolean;
info?: boolean;
warning?: boolean;
color?: any;
multicolor?: any;
}
declare const Spinner: {
(props: Props): React.JSX.Element;
defaultProps: {
tag: string;
};
propTypes: {
className: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string>;
size: PropTypes.Requireable<string>;
success: PropTypes.Requireable<boolean>;
secondary: PropTypes.Requireable<boolean>;
dark: PropTypes.Requireable<boolean>;
danger: PropTypes.Requireable<boolean>;
info: PropTypes.Requireable<boolean>;
warning: PropTypes.Requireable<boolean>;
};
};
export default Spinner;
export { Spinner as CDBSpinner };