File tree Expand file tree Collapse file tree 3 files changed +253
-301
lines changed Expand file tree Collapse file tree 3 files changed +253
-301
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ const MyComponent = () => (
109
109
110
110
#### tag
111
111
112
- Type: ` ComponentType | keyof JSX.IntrinsicElements `
112
+ Type: ` ComponentType | keyof JSX.IntrinsicElements ` Default: ` div `
113
113
114
114
The ` tag ` option allows you to set the html element's tag even when it has no content.
115
115
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-lazy-loader-component" ,
3
- "version" : " 0.1.2 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"description" : " react lazy loader component" ,
5
5
"author" : " Abdulnasır OLCAN" ,
6
6
"license" : " MIT" ,
10
10
"scripts" : {
11
11
"dev" : " vite" ,
12
12
"build" : " tsc && vite build" ,
13
- "preview " : " vite preview" ,
13
+ "start " : " vite preview" ,
14
14
"prepublish" : " pnpm clean && pnpm build" ,
15
15
"clean" : " rimraf dist" ,
16
16
"test" : " vitest run" ,
17
17
"test:CI" : " vitest --watch=false" ,
18
18
"coverage" : " vitest run --coverage"
19
19
},
20
20
"devDependencies" : {
21
- "@types/node" : " ^18.11.10 " ,
22
- "@vitejs/plugin-react" : " ^2.2 .0" ,
21
+ "@types/node" : " ^18.11.13 " ,
22
+ "@vitejs/plugin-react" : " ^3.0 .0" ,
23
23
"c8" : " ^7.12.0" ,
24
24
"jsdom" : " ^20.0.3" ,
25
- "typescript" : " ^4.9.3 " ,
25
+ "typescript" : " ^4.9.4 " ,
26
26
"rimraf" : " ^3.0.2" ,
27
- "vite" : " ^3.2.4 " ,
28
- "vitest" : " ^0.25.3 " ,
27
+ "vite" : " ^4.0.0 " ,
28
+ "vitest" : " ^0.25.7 " ,
29
29
"react" : " ^18.2.0" ,
30
30
"react-dom" : " ^18.2.0" ,
31
31
"@types/react" : " ^18.0.26" ,
You can’t perform that action at this time.
0 commit comments