Skip to content

Commit

Permalink
feat: add span to array-card dot for custom style (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud authored Jul 1, 2020
1 parent 4f41b56 commit 4b2833d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/antd-components/src/array-cards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ArrayCards: any = styled(
key={index}
title={
<span>
{index + 1}. {componentProps.title || schema.title}
{index + 1}<span>.</span> {componentProps.title || schema.title}
</span>
}
extra={
Expand Down
2 changes: 1 addition & 1 deletion packages/next-components/src/array-cards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const ArrayCards = styled(
contentHeight="auto"
title={
<span>
{index + 1}. {componentProps.title || schema.title}
{index + 1}<span>.</span> {componentProps.title || schema.title}
</span>
}
extra={
Expand Down

0 comments on commit 4b2833d

Please sign in to comment.