mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
feat: optimize code (#48072)
This commit is contained in:
parent
1eb139aa8d
commit
6310bf2840
@ -508,7 +508,7 @@ exports[`renders components/tag/demo/borderlessLayout.tsx extend context correct
|
||||
exports[`renders components/tag/demo/checkable.tsx extend context correctly 1`] = `
|
||||
<div
|
||||
class="ant-flex ant-flex-wrap-wrap ant-flex-align-center"
|
||||
style="gap: 4px 0;"
|
||||
style="gap: 4px;"
|
||||
>
|
||||
<span>
|
||||
Categories:
|
||||
|
@ -500,7 +500,7 @@ exports[`renders components/tag/demo/borderlessLayout.tsx correctly 1`] = `
|
||||
exports[`renders components/tag/demo/checkable.tsx correctly 1`] = `
|
||||
<div
|
||||
class="ant-flex ant-flex-wrap-wrap ant-flex-align-center"
|
||||
style="gap:4px 0"
|
||||
style="gap:4px"
|
||||
>
|
||||
<span>
|
||||
Categories:
|
||||
|
@ -14,7 +14,7 @@ const App: React.FC = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<Flex gap="4px 0" wrap="wrap" align="center">
|
||||
<Flex gap={4} wrap="wrap" align="center">
|
||||
<span>Categories:</span>
|
||||
{tagsData.map<React.ReactNode>((tag) => (
|
||||
<Tag.CheckableTag
|
||||
|
Loading…
Reference in New Issue
Block a user