feat: 训练数据管理
This commit is contained in:
18
src/components/ScrollData/index.tsx
Normal file
18
src/components/ScrollData/index.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import type { BoxProps } from '@chakra-ui/react';
|
||||
import { Box } from '@chakra-ui/react';
|
||||
|
||||
interface Props extends BoxProps {
|
||||
nextPage: () => void;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const ScrollData = ({ children, nextPage, ...props }: Props) => {
|
||||
return (
|
||||
<Box {...props} overflow={'auto'}>
|
||||
{children}
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default ScrollData;
|
||||
Reference in New Issue
Block a user