Skip to content

Commit

Permalink
Merge pull request #25840 from software-mansion-labs/ts-migration/poi…
Browse files Browse the repository at this point in the history
…nterEventsAuto

[No QA] [TS migration] Migrate 'pointerEventsAuto' style to TypeScript
  • Loading branch information
flodnv authored Aug 24, 2023
2 parents 329cac3 + 6f973c6 commit 6a41f01
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/styles/pointerEventsAuto/index.js

This file was deleted.

1 change: 0 additions & 1 deletion src/styles/pointerEventsAuto/index.native.js

This file was deleted.

5 changes: 5 additions & 0 deletions src/styles/pointerEventsAuto/index.native.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import PointerEventsAutoStyles from './types';

const pointerEventsAuto: PointerEventsAutoStyles = {};

export default pointerEventsAuto;
7 changes: 7 additions & 0 deletions src/styles/pointerEventsAuto/index.ts
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;
5 changes: 5 additions & 0 deletions src/styles/pointerEventsAuto/types.ts
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;

0 comments on commit 6a41f01

Please sign in to comment.