Skip to content

Instantly share code, notes, and snippets.

@adamjarling
Last active January 3, 2022 21:41
Show Gist options
  • Save adamjarling/7541cb0fa373fb352cf77a81f8304478 to your computer and use it in GitHub Desktop.
Save adamjarling/7541cb0fa373fb352cf77a81f8304478 to your computer and use it in GitHub Desktop.
import React from "react";
interface Props {
foo: string;
}
const App: React.FC<Props> = ({ foo }) => <div>Foo's value is: {foo}</div>;
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment