Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send props from one component to another on button click

<div>
<button>View Order</button>
    <p><span>{this.props.orderno}</span> 
    <span>{this.props.title}</span></p>
    <p>{this.props.entity} - {this.props.po}</p>
    <p>Due {this.props.duedate}</p>
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #props #component #button #click
ADD COMMENT
Topic
Name
3+7 =