Skip to content

Instantly share code, notes, and snippets.

@bharat-tiwari
Created September 12, 2021 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bharat-tiwari/5b42463006c8d855d45dc387d04cda63 to your computer and use it in GitHub Desktop.
Save bharat-tiwari/5b42463006c8d855d45dc387d04cda63 to your computer and use it in GitHub Desktop.
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