mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
chore: fix the Warning of Alert demo (#50946)
This commit is contained in:
parent
119eef9075
commit
14d00df048
@ -271,11 +271,7 @@ Array [
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`renders components/alert/demo/action.tsx extend context correctly 2`] = `
|
||||
[
|
||||
"Warning: [antd: Button] \`link\` or \`text\` button can't be a \`ghost\` button.",
|
||||
]
|
||||
`;
|
||||
exports[`renders components/alert/demo/action.tsx extend context correctly 2`] = `[]`;
|
||||
|
||||
exports[`renders components/alert/demo/banner.tsx extend context correctly 1`] = `
|
||||
Array [
|
||||
|
@ -32,7 +32,7 @@ const App: React.FC = () => (
|
||||
type="warning"
|
||||
action={
|
||||
<Space>
|
||||
<Button type="text" size="small" ghost>
|
||||
<Button type="text" size="small">
|
||||
Done
|
||||
</Button>
|
||||
</Space>
|
||||
|
Loading…
Reference in New Issue
Block a user