Check out example codes for "react-helmet typescript". It will help you in understanding the concepts better.

Code Example 1

npm install --save @types/react-helmet

# Yarn
yarn add @types/react-helmet

Learn ReactJs, React Native from akashmittal.com