-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* demo: code optimization * demo: code optimization
- Loading branch information
1 parent
dcc74ee
commit 248128c
Showing
5 changed files
with
70 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
/* eslint no-console:0 */ | ||
import * as React from 'react'; | ||
import 'rc-select/assets/index.less'; | ||
import React from 'react'; | ||
import { Panel } from 'rc-dialog'; | ||
import 'rc-select/assets/index.less'; | ||
import '../../assets/index.less'; | ||
|
||
export default () => ( | ||
const Demo: React.FC = () => ( | ||
<Panel prefixCls="rc-dialog" title="Title" closable> | ||
Hello World! | ||
</Panel> | ||
); | ||
|
||
export default Demo; |