@chayns-components/core
Version:
A set of beautiful React components for developing your own applications with chayns.
23 lines • 660 B
JavaScript
import React, { forwardRef } from 'react';
import { BaseSkeleton } from '../../base-skeleton/BaseSkeleton';
const ButtonSkeleton = /*#__PURE__*/forwardRef(({
className,
baseColor,
highlightColor,
style,
animationType,
shouldRoundCorners = false
}, ref) => /*#__PURE__*/React.createElement(BaseSkeleton, {
width: 100,
height: 34,
borderRadius: shouldRoundCorners ? '50%' : 3,
animationType: animationType,
baseColor: baseColor,
className: className,
style: style,
highlightColor: highlightColor,
ref: ref
}));
ButtonSkeleton.displayName = 'Skeleton.Button';
export default ButtonSkeleton;
//# sourceMappingURL=ButtonSkeleton.js.map