@carbon/ibm-security
Version:
Carbon for Cloud & Cognitive IBM Security UI components
21 lines (20 loc) • 689 B
JavaScript
/**
* @file Important Content Area (ICA) skeleton.
* @copyright IBM Security 2019
*/
import React from 'react';
import SkeletonText from '../../SkeletonText';
import { getComponentNamespace } from '../../../globals/namespace';
export var namespace = getComponentNamespace('ica-skeleton');
var ICASkeleton = function ICASkeleton() {
return /*#__PURE__*/React.createElement("div", {
className: namespace
}, /*#__PURE__*/React.createElement(SkeletonText, {
className: "".concat(namespace, "__label")
}), /*#__PURE__*/React.createElement(SkeletonText, {
heading: true,
className: "".concat(namespace, "__value"),
width: "80%"
}));
};
export default ICASkeleton;