Store multiple ModelResponses (#95)
* Store multiple ModelResponses * Fix prettier * Add CellContent container
This commit is contained in:
17
src/components/OutputsTable/OutputCell/CellContent.tsx
Normal file
17
src/components/OutputsTable/OutputCell/CellContent.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { type StackProps, VStack } from "@chakra-ui/react";
|
||||
import { CellOptions } from "./CellOptions";
|
||||
|
||||
export const CellContent = ({
|
||||
hardRefetch,
|
||||
hardRefetching,
|
||||
children,
|
||||
...props
|
||||
}: {
|
||||
hardRefetch: () => void;
|
||||
hardRefetching: boolean;
|
||||
} & StackProps) => (
|
||||
<VStack maxH={500} w="full" overflowY="auto" alignItems="flex-start" {...props}>
|
||||
<CellOptions refetchingOutput={hardRefetching} refetchOutput={hardRefetch} />
|
||||
{children}
|
||||
</VStack>
|
||||
);
|
||||
Reference in New Issue
Block a user