There was a typo in the tsx portion, see this StackOverflow post https://stackoverflow.com/a/73368981/12101554