ant-design/components/rate/demo/disabled.md
2022-05-23 14:37:16 +08:00

312 B

order title
3
zh-CN en-US
只读 Read only

zh-CN

只读,无法进行鼠标交互。

en-US

Read only, can't use mouse to interact.

import { Rate } from 'antd';
import React from 'react';

const App: React.FC = () => <Rate disabled defaultValue={2} />;

export default App;