File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ declare namespace ReactDeviceDetect {
7979 export interface ViewProps {
8080 renderWithFragment ?: boolean ;
8181 children ?: React . ReactNode ;
82- viewClassName ?: string ;
82+ className ?: string ;
8383 style ?: React . CSSProperties ;
8484 }
8585
8686 export interface CustomViewProps {
8787 renderWithFragment ?: boolean ;
8888 children ?: React . ReactNode ;
89- viewClassName ?: string ;
89+ className ?: string ;
9090 style ?: React . CSSProperties ;
9191 condition ?: boolean ;
9292 }
Original file line number Diff line number Diff line change 11{
22 "name" : " react-device-detect" ,
3- "version" : " 2.0.0 " ,
3+ "version" : " 2.0.1 " ,
44 "description" : " Detect device type and render your component according to it" ,
55 "main" : " dist/lib.js" ,
66 "typings" : " ./index.d.ts" ,
You can’t perform that action at this time.
0 commit comments