File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
website/src/pages/docs/development Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 11import Preview from 'src/component/Preview' ;
22import md from './README.md' ;
33
4+ < < << << < HEAD
45const transformImageUri = ( url : string ) => {
56 const reqImage = ( require as any ) . context ! ( './' , true , / \. ( p n g | g i f | j p g | s v g ) $ / ) ;
67 const urlAddr = reqImage ( url ) ;
@@ -14,4 +15,7 @@ const DEMO = () => (
1415 path = "website/src/pages/docs/development/components/README.md"
1516 />
1617) ;
18+ = === ===
19+ const DEMO = ( ) => < Preview { ...md } /> ;
20+ > >>> >>> 3905857 c ( docs : 更新文档预览方式 )
1721export default DEMO ;
Original file line number Diff line number Diff line change 11import Preview from 'src/component/Preview' ;
22import md from './README.md' ;
33
4+ < < << << < HEAD
45const DEMO = ( ) => < Preview { ...md } path = "website/src/pages/docs/development/document/README.md" /> ;
6+ = === ===
7+ const DEMO = ( ) => < Preview { ...md } /> ;
8+ > >>> >>> 3905857 c ( docs : 更新文档预览方式 )
59export default DEMO ;
You can’t perform that action at this time.
0 commit comments