Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to assign empty function in react component props

<Component1 onMouseClick={() => {}}  a={1} b={2}/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #assign #empty #function #react #component #props
ADD COMMENT
Topic
Name
3+3 =