Skip to content

Instantly share code, notes, and snippets.

@Ladvace
Created March 19, 2022 12:59
Show Gist options
  • Save Ladvace/3c0cf041b0c58a93860667f8327b54ae to your computer and use it in GitHub Desktop.
Save Ladvace/3c0cf041b0c58a93860667f8327b54ae to your computer and use it in GitHub Desktop.
import React, { useState } from 'react'
export const Component = ({name, age}) => {
return (
<div>
<h2>{name}</h2>
<p>{age}</p>
</div>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment