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

24 lines
247 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
title:
zh-CN: 基本
en-US: Basic
2016-03-31 09:40:55 +08:00
---
2016-03-30 13:20:03 +08:00
## zh-CN
2016-03-30 13:20:03 +08:00
最简单的用法。
## en-US
The simplest usage.
```tsx
2016-03-30 13:20:03 +08:00
import { Rate } from 'antd';
2022-05-23 14:37:16 +08:00
import React from 'react';
2016-03-30 13:20:03 +08:00
const App: React.FC = () => <Rate />;
export default App;
2019-05-07 14:57:32 +08:00
```