Created
June 7, 2022 14:26
-
-
Save adityatyagi/7ee5da4b0c2255c394d1e5313f4b2c17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
const DemoOutput = (props) => { | |
console.log("Demo runs"); | |
return ( | |
<div> | |
<h3>This is demo output component and will remain static</h3> | |
<p>{props.show ? "Only this will render" : ""}</p> | |
</div> | |
); | |
}; | |
export default DemoOutput; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment