react component props typescript example