diff --git a/app/components/UI/ModalNavbarTitle/index.tsx b/app/components/UI/ModalNavbarTitle/index.tsx index 5b4f5facb68..d58bab49e82 100644 --- a/app/components/UI/ModalNavbarTitle/index.tsx +++ b/app/components/UI/ModalNavbarTitle/index.tsx @@ -23,7 +23,6 @@ interface ModalNavbarTitleProps { /** * UI PureComponent that renders inside the modal navbar */ -//DEVIN_TODO: Verify if PureComponent needs type parameters export default class ModalNavbarTitle extends PureComponent { render = () => { const { title } = this.props; diff --git a/notes.md b/notes.md deleted file mode 100644 index e7b304bdf97..00000000000 --- a/notes.md +++ /dev/null @@ -1,21 +0,0 @@ -# ModalNavbarTitle Component TypeScript Conversion - -## Confirmed Types -- [x] `title` prop: `string` (required) - -## To Investigate -- [ ] Check if any additional props or context are used -- [ ] Verify if `PureComponent` needs type parameters -- [ ] Determine if `styles` object needs typing - -## Conversion Tasks -- [ ] Create interface for component props -- [ ] Remove `propTypes` after conversion -- [ ] Update class declaration to use TypeScript syntax -- [ ] Check for any implicit 'any' types - -## Notes -- Component is a `PureComponent` from React -- Uses `StyleSheet` from react-native for styling -- `render` method destructures `title` from `this.props` -- Remember to use `interface` for props definition