Skip to content

Commit

Permalink
migrate editedLabelStyles to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Aug 25, 2023
1 parent 34d4e54 commit 5a0d84d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/styles/editedLabelStyles/index.js

This file was deleted.

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

This file was deleted.

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

const editedLabelStyles: EditedLabelStyles = {};

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

const editedLabelStyles: EditedLabelStyles = {...display.dInlineFlex, ...flex.alignItemsBaseline};

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

type EditedLabelStyles = CSSProperties | TextStyle;

export default EditedLabelStyles;

0 comments on commit 5a0d84d

Please sign in to comment.