diff --git a/.changeset/empty-ads-heal.md b/.changeset/empty-ads-heal.md new file mode 100644 index 0000000000..90da3e923b --- /dev/null +++ b/.changeset/empty-ads-heal.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/fuselage': patch +--- + +fix(fuselage): Skeleton missing HTML attributes in type diff --git a/packages/fuselage/src/components/Skeleton/Skeleton.tsx b/packages/fuselage/src/components/Skeleton/Skeleton.tsx index b9c4c17d1e..cac9a77534 100644 --- a/packages/fuselage/src/components/Skeleton/Skeleton.tsx +++ b/packages/fuselage/src/components/Skeleton/Skeleton.tsx @@ -1,9 +1,11 @@ +import { AllHTMLAttributes } from 'react'; + import { cx, cxx } from '../../helpers/composeClassNames'; import { StylingBox, StylingBoxProps } from '../Box'; type SkeletonProps = Omit & { variant?: 'text' | 'rect' | 'circle'; -}; +} & AllHTMLAttributes; const Skeleton = ({ variant = 'text', ...props }: SkeletonProps) => (