typescript react props example