We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a7679 commit 78fa9f9Copy full SHA for 78fa9f9
2 files changed
index.d.ts
@@ -79,14 +79,14 @@ declare namespace ReactDeviceDetect {
79
export interface ViewProps {
80
renderWithFragment?: boolean;
81
children?: React.ReactNode;
82
- viewClassName?: string;
+ className?: string;
83
style?: React.CSSProperties;
84
}
85
86
export interface CustomViewProps {
87
88
89
90
91
condition?: boolean;
92
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-device-detect",
3
- "version": "2.0.0",
+ "version": "2.0.1",
4
"description": "Detect device type and render your component according to it",
5
"main": "dist/lib.js",
6
"typings": "./index.d.ts",
0 commit comments