Skip to content

Instantly share code, notes, and snippets.

@cameronp98
Created December 27, 2021 13:47
Show Gist options
  • Save cameronp98/b1d4687ccd81e5db5c483ece26cb45a9 to your computer and use it in GitHub Desktop.
Save cameronp98/b1d4687ccd81e5db5c483ece26cb45a9 to your computer and use it in GitHub Desktop.
import React from 'react'
import Button from './components/Button'
const App = () => {
const subscribe = () => {
// ...
}
return <Button onClick={() => subscribe}>Subscribe</Button>
}
export default App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment