interface DummyProps{
property1:string //here instead of property1 you can name it whatever you want to and its type can be anything.For example i have used here string
}
export default ({property1}:DummyProps) => {
return (
<div>
{property1}
</div>
);
}