ant-design/components/rate/demo/disabled.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* 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
2022-04-03 23:27:45 +08:00

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} />;
```