Token display and entry component for room invitations.
In display mode, the component shows a token in a monospace-styled
box with Copy and Share buttons. The Copy button temporarily shows
"Copied!" feedback. The Share button invokes the platform's native
share sheet.
In input mode, the component provides a text field for entering a
token, an optional password field, a Preview button to look up room
info, and a Join button. When room info is available from a lookup,
a preview card shows the room name and active/inactive status.
Token display and entry component for room invitations.
In display mode, the component shows a token in a monospace-styled box with Copy and Share buttons. The Copy button temporarily shows "Copied!" feedback. The Share button invokes the platform's native share sheet.
In input mode, the component provides a text field for entering a token, an optional password field, a Preview button to look up room info, and a Join button. When room info is available from a lookup, a preview card shows the room name and active/inactive status.