--- order: 3 title: zh-CN: 不可用状态 en-US: Disabled --- ## zh-CN 添加 `disabled` 属性即可让按钮处于不可用状态,同时按钮样式也会改变。 ## en-US To mark a button as disabled, add the `disabled` property to the `Button`. ```tsx import { Button } from 'antd'; import React from 'react'; const App: React.FC = () => ( <>






); export default App; ``` ```css .site-button-ghost-wrapper { padding: 8px 8px 0 8px; background: rgb(190, 200, 200); } ```