@chayns-components/core
Version:
A set of beautiful React components for developing your own applications with chayns.
25 lines • 638 B
JavaScript
import React, { forwardRef } from 'react';
import { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';
const BoxSkeleton = /*#__PURE__*/forwardRef(({
className,
baseColor,
highlightColor,
style,
borderRadius,
animationType,
height,
width
}, ref) => /*#__PURE__*/React.createElement(BaseSkeleton, {
width: width,
height: height,
borderRadius: borderRadius,
animationType: animationType,
baseColor: baseColor,
className: className,
style: style,
highlightColor: highlightColor,
ref: ref
}));
BoxSkeleton.displayName = 'Skeleton.Box';
export default BoxSkeleton;
//# sourceMappingURL=BoxSkeleton.js.map