React component props. Typescript код. typescript пример кода. typescript синтаксис. onclick react.