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

14 lines
172 B
Markdown
Raw Normal View History

2016-03-31 14:43:38 +08:00
# 只读
- order: 3
只读,无法进行鼠标交互。
---
````jsx
import { Rate } from 'antd';
ReactDOM.render(<Rate disabled defaultValue={2} />, mountNode);
````