File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,7 @@ open http://localhost:8000
3535import Portal from ' rc-portal' ;
3636
3737const Demo = () => {
38- return (
39- < Portal open>
40- Hello World
41- < / Portal>
42- );
38+ return < Portal open> Hello World< / Portal> ;
4339};
4440
4541export default Demo ;
@@ -51,6 +47,6 @@ We use typescript to create the Type definition. You can view directly in IDE. B
5147
5248### Portal
5349
54- | Prop | Description | Type | Default |
55- | ---------------- | -------------------------------------------------- | -------------------------------------------- | --------- ------- |
56- | component | Customize Form render component | string \| Component \| false | form |
50+ | Prop | Description | Type | Default |
51+ | --------- | ------------------------------- | ---------------------------- | ------- |
52+ | component | Customize Form render component | string \| Component \| false | form |
Original file line number Diff line number Diff line change 1+ import Portal from './Portal' ;
2+
3+ export default Portal ;
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
2- import useLayoutEffect from '../.. /hooks/useLayoutEffect' ;
2+ import useLayoutEffect from 'rc-util/lib /hooks/useLayoutEffect' ;
33import OrderContext from './Context' ;
44import type { QueueCreate } from './Context' ;
55
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
2- import { updateCSS , removeCSS } from '../.. /Dom/dynamicCSS' ;
3- import getScrollBarSize from '../.. /getScrollBarSize' ;
2+ import { updateCSS , removeCSS } from 'rc-util/lib /Dom/dynamicCSS' ;
3+ import getScrollBarSize from 'rc-util/lib /getScrollBarSize' ;
44
55let lockCount = 0 ;
66let locked = false ;
You can’t perform that action at this time.
0 commit comments