Untitled

mail@pastecode.io avatar
unknown
javascript
20 days ago
216 B
2
Indexable
Never


export const TestChild = ({ setname }) => {
  return (
    <div>
      <h1>Test Child</h1>
      <button onClick={()=>{setname("Kuch Bhi")}}>
        Click From Clild
      </button>
    </div>
  );
};
Leave a Comment