Files
ant-design/components/skeleton/shared/sharedProps.en-US.md
lijianan a1c880f1cd feat(Skeleton): Support better customization with semantic classNames & styles (#55099)
* update

* add demo

* add demo

* update test case

* Update components/skeleton/Skeleton.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/skeleton/Skeleton.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/skeleton/Skeleton.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* test: update demo and snap

* chore: update demo

* test: update snapshot

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-10-01 00:16:21 +08:00

800 B

Property Description Type Default Version
active Show animation effect boolean false
classNames Customize class for each semantic structure inside the Skeleton component. Supports object or function. Record<SemanticDOM, string> | (info: { props }) => Record<SemanticDOM, string> - 6.0.0
styles Customize inline style for each semantic structure inside the Skeleton component. Supports object or function. Record<SemanticDOM, CSSProperties> | (info: { props }) => Record<SemanticDOM, CSSProperties> - 6.0.0