--- order: 9 title: zh-CN: 危险按钮 en-US: Danger Buttons --- ## zh-CN 在 4.0 之后,危险成为一种按钮属性而不是按钮类型。 ## en-US `danger` is a property of button after antd 4.0. ```tsx import { Button } from 'antd'; import React from 'react'; const App: React.FC = () => ( <> ); export default App; ```