mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
fix #16038, back icon should is a button
This commit is contained in:
parent
dbd3fbfb95
commit
e22bfcdc4d
@ -6,7 +6,7 @@ import { BreadcrumbProps } from '../breadcrumb';
|
||||
import Divider from '../divider';
|
||||
import Tag from '../tag';
|
||||
import Breadcrumb from '../breadcrumb';
|
||||
import Wave from '../_util/wave';
|
||||
import TransButtonProps from '../_util/transButton';
|
||||
|
||||
export interface PageHeaderProps {
|
||||
backIcon?: React.ReactNode;
|
||||
@ -39,7 +39,7 @@ const renderBack = (
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Wave>{backIcon}</Wave>
|
||||
<TransButtonProps>{backIcon}</TransButtonProps>
|
||||
<Divider type="vertical" />
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user