1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 15:24:21 +00:00
sophon/frontend/src/components/group/GroupStepPage.tsx

20 lines
551 B
TypeScript

import * as React from "react"
import {ManagedViewSet} from "../../hooks/useManagedViewSet"
import {SophonResearchGroup} from "../../types/SophonTypes"
import {GroupCreateBox} from "./GroupCreateBox"
import {GroupListBox} from "./GroupListBox"
export interface GroupStepPageProps {
viewSet: ManagedViewSet<SophonResearchGroup>
}
export function GroupStepPage({viewSet}: GroupStepPageProps): JSX.Element {
return (
<>
<GroupListBox viewSet={viewSet}/>
<GroupCreateBox viewSet={viewSet}/>
</>
)
}