Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript type props react

export default function MyComponent(
	{firstProp, secondProp}:{firstProp:number; secondProp:string;}
) {}
Source by www.pluralsight.com #
 
PREVIOUS NEXT
Tagged: #typescript #type #props #react
ADD COMMENT
Topic
Name
7+8 =