Skip to content

Commit

Permalink
feat(flat-components): add join link content to InviteModal component (
Browse files Browse the repository at this point in the history
  • Loading branch information
Leooeloel committed Jun 29, 2021
1 parent 0e2854c commit 5048af0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

.invite-modal-content-item {
display: flex;
word-break: break-all;

span {
display: inline-block;
Expand Down
6 changes: 6 additions & 0 deletions packages/flat-components/src/components/InviteModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ export const InviteModal: React.FC<InviteModalProps> = ({
<span>{formattedTimeRange}</span>
</div>
)}
<div className="invite-modal-content-item">
<span>{t("join-link")}</span>
<span style={{ userSelect: "text" }}>
{baseUrl}/join/{uuid}
</span>
</div>
</div>
{/* @TODO Add invite URL */}
{/*<Input type="text" placeholder="https://netless.link/url/5f2259d5069bc052d2" />*/}
Expand Down

0 comments on commit 5048af0

Please sign in to comment.