ant-design/components/checkbox/demo/disabled.tsx
Danial Soheili a63789e3dc
Bugfix/checkbox style (#39974)
* 🎨 STYLE: fix indeterminate Checkbox style when disabled

* 📖 DOC: add indeterminate checkbox to disabled demo

* 🧪 TEST: update snapshots

* 🐞 FIX: don't change normal checkbox background

* 🐞 FIX: style selector
2023-01-04 10:19:51 +08:00

15 lines
278 B
TypeScript

import React from 'react';
import { Checkbox } from 'antd';
const App: React.FC = () => (
<>
<Checkbox defaultChecked={false} disabled />
<br />
<Checkbox indeterminate disabled />
<br />
<Checkbox defaultChecked disabled />
</>
);
export default App;