* Converted [./components/spinner_button.tsx] to functional component
* Converted [./components/spinner_button.tsx] to functional component
* [./components/spinner_button.tsx]: wrapped the component with react.memo + removed default props + use multi-lines in args
* [./components/spinner_button.tsx]:
- fix lint errors in spinner button
- fix error in missing prop on spinnerButton component
* [./components/spinner_button.tsx]:
- convert class component to functional component - fix lint errors in spinner button
* fix:[spinner_button]: fix lint errors
* - fix: [add_emoji.tsx]: add an id selector to the SpinnerButton to fix issue in unit test for this file.
- fix: [add_emoji.test.tsx]: find the saveButton with id selector instead of using element directly (was causing test fai)
- update test snapshots
* fix[add_emoji]: replaced id with data-testid to be used in unit test
---------
Co-authored-by: Noha M <33437197+NohaaAa@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>