Skip to content

Commit

Permalink
Migrate 'ReportActionItemDraft.js' component to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Nov 30, 2023
1 parent ef58238 commit d3b47a3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/pages/home/report/ReportActionItemDraft.js

This file was deleted.

17 changes: 17 additions & 0 deletions src/pages/home/report/ReportActionItemDraft.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import {View} from 'react-native';
import useThemeStyles from '@styles/useThemeStyles';
import ChildrenProps from '@src/types/utils/ChildrenProps';

function ReportActionItemDraft({children}: ChildrenProps) {
const styles = useThemeStyles();

return (
<View style={styles.chatItemDraft}>
<View style={styles.flex1}>{children}</View>
</View>
);
}

ReportActionItemDraft.displayName = 'ReportActionItemDraft';
export default ReportActionItemDraft;

0 comments on commit d3b47a3

Please sign in to comment.