ant-design/components/rate/demo/disabled.md

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);
````