import React, { forwardRef } from 'react';
var CardLoaderWrapper = /*#__PURE__*/forwardRef(function (_ref, ref) {
  var appearance = _ref.appearance,
    children = _ref.children;
  var Component = appearance === 'inline' ? 'span' : 'div';
  return (
    /*#__PURE__*/
    // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
    React.createElement(Component, {
      className: "loader-wrapper",
      ref: ref
    }, children)
  );
});
export default CardLoaderWrapper;