UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

32 lines (28 loc) 724 B
/** * MSKCC 2021, 2024 */ import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js'; import PropTypes from 'prop-types'; import React__default from 'react'; import cx from 'classnames'; import { usePrefix } from '../../internal/usePrefix.js'; const IconSkeleton = _ref => { let { className, ...rest } = _ref; const prefix = usePrefix(); const props = { ...rest }; return /*#__PURE__*/React__default.createElement("div", _extends({ className: cx(`${prefix}--icon--skeleton`, className) }, props)); }; IconSkeleton.propTypes = { /** * Specify an optional className to add. */ className: PropTypes.string }; export { IconSkeleton, IconSkeleton as default };