File tree Expand file tree Collapse file tree 3 files changed +12
-16
lines changed Expand file tree Collapse file tree 3 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 14781478 " react-native-signature-capture" ,
14791479 " react-native-svg-animated-linear-gradient" ,
14801480 " react-native-toast-native" ,
1481- " react-no-ssr" ,
14821481 " react-onsenui" ,
14831482 " react-paginate" ,
14841483 " react-paginate/v5" ,
Original file line number Diff line number Diff line change 11import * as React from "react" ;
22
3- export default class NoSSR extends React . Component < {
3+ declare class NoSSR extends React . Component < {
44 children ?: React . ReactNode ;
55 onSSR ?: React . ReactElement | number | string | undefined ;
66} > { }
7+
8+ export = NoSSR ;
Original file line number Diff line number Diff line change 11import * as React from "react" ;
22import NoSSR from "react-no-ssr" ;
33
4- export class NoSSRTest extends React . Component {
5- render ( ) {
6- return (
7- < div >
8- < NoSSR >
9- < div />
10- </ NoSSR >
11- < NoSSR onSSR = { < span /> } >
12- < div />
13- </ NoSSR >
14- </ div >
15- ) ;
16- }
17- }
4+ < NoSSR > </ NoSSR > ;
5+
6+ < NoSSR >
7+ < div />
8+ </ NoSSR > ;
9+
10+ < NoSSR onSSR = { < span /> } >
11+ < div />
12+ </ NoSSR > ;
You can’t perform that action at this time.
0 commit comments