mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 22:55:51 -05:00
4f838ccacf
[web] BS5 share modal GitOrigin-RevId: 40a33e06eab720b568d31aefa021682535b6934e
16 lines
490 B
JavaScript
16 lines
490 B
JavaScript
import AddCollaborators from './add-collaborators'
|
|
import AddCollaboratorsUpgrade from './add-collaborators-upgrade'
|
|
import PropTypes from 'prop-types'
|
|
import OLRow from '@/features/ui/components/ol/ol-row'
|
|
|
|
export default function SendInvites({ canAddCollaborators }) {
|
|
return (
|
|
<OLRow className="invite-controls">
|
|
{canAddCollaborators ? <AddCollaborators /> : <AddCollaboratorsUpgrade />}
|
|
</OLRow>
|
|
)
|
|
}
|
|
|
|
SendInvites.propTypes = {
|
|
canAddCollaborators: PropTypes.bool,
|
|
}
|