Hello React and TypeScript

Updated 3 years ago

Attiqe Ur Rehman (@attiqerehman) started discussion #13

2 years ago · 0 comments


Here we are defining the expected shape of objects that extend IHelloFormProps. Objects are expected to have a property named name of type string and a method named handleChange that accepts an argument named event of type any and has a return type void.

Define Props and State Types (Edit this file)

Can the props/ state interface contain other custom data types i-e Person?

No description provided.

No comments on this discussion.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant