Skip to content

Commit 2bafaa5

Browse files
authored
Update README.md
1 parent 268c86c commit 2bafaa5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@ React Select
4242
```js
4343
import Select, { Option, OptGroup } from 'rc-select';
4444

45-
var c = (
45+
export default () => (
4646
<Select>
4747
<Option value="jack">jack</Option>
4848
<Option value="lucy">lucy</Option>
4949
<Option value="yiminghe">yiminghe</Option>
5050
</Select>
5151
);
52-
React.render(c, container);
5352
```
5453

5554
## API

0 commit comments

Comments
 (0)