mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
21 lines
264 B
Markdown
21 lines
264 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';
|
|
|
|
ReactDOM.render(<Rate disabled defaultValue={2} />, mountNode);
|
|
```
|