mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
a63789e3dc
* 🎨 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
15 lines
278 B
TypeScript
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;
|