mattermost-mobile/app/components/message_attachments
Daniel Espino García f8e67c04ad
Migrate message attachments to typescript (#5127)
* Migrate attachment_image

* Migrate action_menu

* Migrate action_button

* migrate message_attachments

* Remove unintended commited file

* Fix tsc

* Fix tsc

* Fix lint

* Update references

* Make emoji functional component and fix imports

* Use ReactNode instead of JSXElement

* Convert action menu to FC

* Remove unneeded fragments

* Remove unneded undefined check

* Use undefined instead of nil in calculateDimensions

* Make sure height is always defined

* Use is valid URL

* Add missing types

* Lint fixes and remove lodash

* Revert package.json changes

* Put back fragments since they are actually needed

* Fix test

* Fix lint

* Address feedback
2021-04-22 18:21:44 -04:00
..
__snapshots__ Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
action_button Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
action_menu Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_image Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_actions.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_author.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_fields.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_footer.test.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_footer.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_pretext.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_text.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_thumbnail.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
attachment_title.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
index.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00
message_attachment.tsx Migrate message attachments to typescript (#5127) 2021-04-22 18:21:44 -04:00