mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
a2e2dcccda
GitOrigin-RevId: 984ab0770b3b920daa945ed8b190e7debf9e4a1d
16 lines
469 B
JavaScript
16 lines
469 B
JavaScript
import { Row } from 'react-bootstrap'
|
|
import AddCollaborators from './add-collaborators'
|
|
import AddCollaboratorsUpgrade from './add-collaborators-upgrade'
|
|
import PropTypes from 'prop-types'
|
|
|
|
export default function SendInvites({ canAddCollaborators }) {
|
|
return (
|
|
<Row className="invite-controls">
|
|
{canAddCollaborators ? <AddCollaborators /> : <AddCollaboratorsUpgrade />}
|
|
</Row>
|
|
)
|
|
}
|
|
|
|
SendInvites.propTypes = {
|
|
canAddCollaborators: PropTypes.bool,
|
|
}
|