-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25840 from software-mansion-labs/ts-migration/poi…
…nterEventsAuto [No QA] [TS migration] Migrate 'pointerEventsAuto' style to TypeScript
- Loading branch information
Showing
5 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import PointerEventsAutoStyles from './types'; | ||
|
||
const pointerEventsAuto: PointerEventsAutoStyles = {}; | ||
|
||
export default pointerEventsAuto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import PointerEventsAutoStyles from './types'; | ||
|
||
const pointerEventsAuto: PointerEventsAutoStyles = { | ||
pointerEvents: 'auto', | ||
}; | ||
|
||
export default pointerEventsAuto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {CSSProperties} from 'react'; | ||
|
||
type PointerEventsAutoStyles = Partial<Pick<CSSProperties, 'pointerEvents'>>; | ||
|
||
export default PointerEventsAutoStyles; |