mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-23 23:34:21 +00:00
21 lines
551 B
TypeScript
21 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}/>
|
||
|
</>
|
||
|
)
|
||
|
}
|