Skip to content

Commit 440f91d

Browse files
author
刘欢
committed
feat: dm-plain-anchor -> getPrefixCls('plain-anchor')
1 parent 73d7bab commit 440f91d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/center-popup/center-popup.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ export const CenterPopup: FC<CenterPopupProps> = props => {
128128
>
129129
{mergedProps.showCloseButton && (
130130
<a
131-
className={classNames(`${prefixCls}-close`, 'adm-plain-anchor')}
131+
className={classNames(
132+
`${prefixCls}-close`,
133+
getPrefixCls('plain-anchor')
134+
)}
132135
onClick={() => {
133136
mergedProps.onClose?.()
134137
}}

src/components/popup/popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const Popup: FC<PopupProps> = p => {
145145
<a
146146
className={classNames(
147147
`${prefixCls}-close-icon`,
148-
'adm-plain-anchor'
148+
getPrefixCls('plain-anchor')
149149
)}
150150
onClick={() => {
151151
props.onClose?.()

0 commit comments

Comments
 (0)