mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
21 lines
257 B
Markdown
21 lines
257 B
Markdown
---
|
|
order: 3
|
|
title:
|
|
zh-CN: 只读
|
|
en-US: Read only
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
只读,无法进行鼠标交互。
|
|
|
|
## en-US
|
|
|
|
Read only, can't use mouse to interact.
|
|
|
|
```jsx
|
|
import { Rate } from 'antd';
|
|
|
|
export default () => <Rate disabled defaultValue={2} />;
|
|
```
|