From 9b8d197e8f028fcf26da44356be89ca8d1a07c46 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Fri, 9 Oct 2020 14:35:27 -0400 Subject: [PATCH] interface: sidebarInvite in indigo-react --- .../components/Sidebar/SidebarInvite.tsx | 38 ++++++++++++------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/pkg/interface/src/views/landscape/components/Sidebar/SidebarInvite.tsx b/pkg/interface/src/views/landscape/components/Sidebar/SidebarInvite.tsx index eb57b9731..837e8b260 100644 --- a/pkg/interface/src/views/landscape/components/Sidebar/SidebarInvite.tsx +++ b/pkg/interface/src/views/landscape/components/Sidebar/SidebarInvite.tsx @@ -1,30 +1,40 @@ import React, { Component } from 'react'; import { Invite } from '~/types/invite-update'; +import { Text, Box, Button, Row } from '@tlon/indigo-react'; export class SidebarInvite extends Component<{invite: Invite, onAccept: Function, onDecline: Function}, {}> { render() { const { props } = this; return ( -
-
-

- {props.invite.text ? props.invite.text : props.invite.path} -

-
- + + You have been invited to: + + {props.invite.path.substr(1)} + + + +
+ + + ); } }