webapp/src/components/_shared/InviteCoAuthorsModal/InviteCoAuthorsModal.tsx
Ilya Y a2b449502a
Share popup update (#350)
* Share popup update

* Remove shared link

* Cleanup code

* Cleanup code

* Cleanup code

* Cleanup code
2023-12-29 14:07:48 +03:00

18 lines
497 B
TypeScript

import { useLocalize } from '../../../context/localize'
import { Modal } from '../../Nav/Modal'
import { UserSearch } from '../UserSearch'
type Props = {
title?: string
}
export const InviteCoAuthorsModal = (props: Props) => {
const { t } = useLocalize()
return (
<Modal variant="medium" name="inviteCoAuthors">
<h2>{props.title || t('Invite collaborators')}</h2>
<UserSearch placeholder={t('Write your colleagues name or email')} onChange={() => {}} />
</Modal>
)
}