Skip to content

Commit

Permalink
Merge pull request #25920 from JKobrynski/migrateContainerComposeStyl…
Browse files Browse the repository at this point in the history
…esToTypeScript

[No QA] [TS Migration] migrate containerComposeStyles style to TypeScript
  • Loading branch information
Hayata Suenaga authored Sep 12, 2023
2 parents 1c30aaa + aeeaf2d commit fed156a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/styles/containerComposeStyles/index.native.js

This file was deleted.

6 changes: 6 additions & 0 deletions src/styles/containerComposeStyles/index.native.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import {StyleProp, ViewStyle} from 'react-native';
import styles from '../styles';

const containerComposeStyles: StyleProp<ViewStyle> = [styles.textInputComposeSpacing];

export default containerComposeStyles;
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {StyleProp, ViewStyle} from 'react-native';
import styles from '../styles';

// We need to set paddingVertical = 0 on web to avoid displaying a normal pointer on some parts of compose box when not in focus
const containerComposeStyles = [styles.textInputComposeSpacing, {paddingVertical: 0}];
const containerComposeStyles: StyleProp<ViewStyle> = [styles.textInputComposeSpacing, {paddingVertical: 0}];

export default containerComposeStyles;

0 comments on commit fed156a

Please sign in to comment.