import React, { type HTMLAttributes } from 'react' import classnames from 'classnames' import { type HeadingVariants } from '~components/Heading' import { type OverrideClassName } from '~components/types/OverrideClassName' import styles from './LoadingHeading.module.scss' export type LoadingHeadingProps = { variant: HeadingVariants isAnimated?: boolean isReversed?: boolean isLink?: boolean /** * Width as a percentage. */ width?: number } & OverrideClassName> /** * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082060062/Loading+Skeleton Guidance} | * {@link https://cultureamp.design/?path=/docs/components-loading-states-loadingheading--docs Storybook} */ export const LoadingHeading = ({ isAnimated, isReversed, width, isLink, classNameOverride, variant, ...props }: LoadingHeadingProps): JSX.Element => (
) LoadingHeading.displayName = 'LoadingHeading'