Skip to content

Commit 573d5b8

Browse files
committed
fix(Skeleton): pass props to the root element * 8
1 parent 3a41fe8 commit 573d5b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/content/Skeleton/Skeleton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,12 @@ export function Skeleton({
229229
return LAYOUT_MAP[layout] ? (
230230
LAYOUT_MAP[layout]({
231231
isStatic,
232-
qa: 'Skeleton',
233232
columns,
234233
rows,
235234
lines,
236235
tabs,
237236
cards,
238-
rootProps: props,
237+
rootProps: { qa: 'Skeleton', ...props },
239238
})
240239
) : (
241240
<Placeholder qa="Skeleton" isStatic={isStatic} {...props} />

0 commit comments

Comments
 (0)