Skip to content

Commit

Permalink
Merge pull request #25848 from software-mansion-labs/ts-migration/opt…
Browse files Browse the repository at this point in the history
…ionAlternateTextPlatformStyles

[No QA] [TS migration] Migrate 'optionAlternateTextPlatformStyles' style to Typescript
  • Loading branch information
jasperhuangg authored Aug 25, 2023
2 parents e322e0c + 31ca64b commit 2cc89f1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/styles/optionAlternateTextPlatformStyles/index.ios.js

This file was deleted.

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

const optionAlternateTextPlatformStyles: OptionAlternateTextPlatformStyles = {
paddingTop: 1,
};

export default optionAlternateTextPlatformStyles;
1 change: 0 additions & 1 deletion src/styles/optionAlternateTextPlatformStyles/index.js

This file was deleted.

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

const optionAlternateTextPlatformStyles: OptionAlternateTextPlatformStyles = {};

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

type OptionAlternateTextPlatformStyles = Partial<Pick<TextStyle, 'paddingTop'>>;

export default OptionAlternateTextPlatformStyles;

0 comments on commit 2cc89f1

Please sign in to comment.