mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 03:48:26 +08:00
21 lines
266 B
Markdown
21 lines
266 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);
|
|
````
|