Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

set type for usecontext

const mycontext = createContext<myType>('default value')
 
PREVIOUS NEXT
Tagged: #set #type #usecontext
ADD COMMENT
Topic
Name
4+6 =