@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
23 lines • 972 B
JavaScript
/** @component loading-spinner */
import React from 'react';
import PropTypes from 'prop-types';
/**
* @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards.
**/
var Loading = function (props) {
var small = props.small;
return (React.createElement("div", { className: "md-loading" + "".concat(small ? ' md-loading--small' : '') },
React.createElement("span", { className: "md-loading__icon" }),
React.createElement("span", { className: "md-loading__icon" }),
React.createElement("span", { className: "md-loading__icon" })));
};
Loading.propTypes = {
/** @prop Prop to make the Loading animation small | false */
small: PropTypes.bool,
};
Loading.defaultProps = {
small: false,
};
Loading.displayName = 'Loading';
export default Loading;
//# sourceMappingURL=index.js.map