|
|
@@ -1,7 +1,9 @@
|
|
|
-import { Col, Row } from 'react-bootstrap'
|
|
|
import { Trans } from 'react-i18next'
|
|
|
import GroupInvitesItemFooter from './group-invites-item-footer'
|
|
|
import type { TeamInvite } from '../../../../../../types/team-invite'
|
|
|
+import OLCard from '@/features/ui/components/ol/ol-card'
|
|
|
+import OLRow from '@/features/ui/components/ol/ol-row'
|
|
|
+import OLCol from '@/features/ui/components/ol/ol-col'
|
|
|
|
|
|
type GroupInvitesItemProps = {
|
|
|
teamInvite: TeamInvite
|
|
|
@@ -11,9 +13,9 @@ export default function GroupInvitesItem({
|
|
|
teamInvite,
|
|
|
}: GroupInvitesItemProps) {
|
|
|
return (
|
|
|
- <Row className="row-spaced">
|
|
|
- <Col md={8} mdOffset={2} className="text-center">
|
|
|
- <div className="card">
|
|
|
+ <OLRow className="row-spaced">
|
|
|
+ <OLCol lg={{ span: 8, offset: 2 }} className="text-center">
|
|
|
+ <OLCard>
|
|
|
<div className="page-header">
|
|
|
<h2>
|
|
|
<Trans
|
|
|
@@ -29,8 +31,8 @@ export default function GroupInvitesItem({
|
|
|
</h2>
|
|
|
</div>
|
|
|
<GroupInvitesItemFooter teamInvite={teamInvite} />
|
|
|
- </div>
|
|
|
- </Col>
|
|
|
- </Row>
|
|
|
+ </OLCard>
|
|
|
+ </OLCol>
|
|
|
+ </OLRow>
|
|
|
)
|
|
|
}
|