Created
September 12, 2021 12:32
-
-
Save bharat-tiwari/5b42463006c8d855d45dc387d04cda63 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'; | |
type compProps = { | |
title: string; | |
} | |
const Home = (props: compProps) => { | |
const { title } = props; | |
return ( | |
<div> | |
{title} | |
</div> | |
) | |
}; | |
export default Home; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment