Skip to content

Commit

Permalink
Merge pull request Expensify#25842 from software-mansion-labs/ts-migr…
Browse files Browse the repository at this point in the history
…ation/overflowXHidden

[No QA] [TS migration] Migrate 'overflowXHidden' style to TypeScript
  • Loading branch information
stitesExpensify authored Aug 24, 2023
2 parents 86f1cf7 + 699432e commit f68755c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/styles/overflowXHidden/index.js

This file was deleted.

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

This file was deleted.

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

const overflowXHidden: OverflowXHiddenStyles = {};

export default overflowXHidden;
7 changes: 7 additions & 0 deletions src/styles/overflowXHidden/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import OverflowXHiddenStyles from './types';

const overflowXHidden: OverflowXHiddenStyles = {
overflowX: 'hidden',
};

export default overflowXHidden;
5 changes: 5 additions & 0 deletions src/styles/overflowXHidden/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import {CSSProperties} from 'react';

type OverflowXHiddenStyles = Partial<Pick<CSSProperties, 'overflowX'>>;

export default OverflowXHiddenStyles;

0 comments on commit f68755c

Please sign in to comment.