useInvitePeopleModal
Overview
useInvitePeopleModal
is a hook used to open an invitation modal containing a QR code or a command that can be entered in @Lunchbox Line Friend.
Usage
const Component = () => {
const { open } = useInvitePeopleModal()
return (
<Button onClick={open}>
Invite people
</Button>
)
}
Parameters
No parameters are needed.
Returns
open
: A function to open an invitation modal