react-pointer-type
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "description": "React hooks for adapting to pointer type changes. The correct alternative to feature detection.", |
@@ -11,2 +11,26 @@ # React Pointer Type | ||
```css | ||
/* App.module.css */ | ||
:global(.mouse) .pointerIndicator { | ||
background: red; | ||
} | ||
:global(.touch) .pointerIndicator { | ||
background: blue; | ||
} | ||
:global(.pen) .pointerIndicator { | ||
background: green; | ||
} | ||
.matchIndicator { | ||
background: red; | ||
} | ||
:global(.nohover) .matchIndicator { | ||
background: green; | ||
} | ||
``` | ||
```tsx | ||
@@ -13,0 +37,0 @@ import React from 'react'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26924
69