Files
FastGPT/packages/web/components/common/MyBox/FormLabel.tsx
2024-06-07 12:54:30 +08:00

18 lines
307 B
TypeScript

import React from 'react';
import { Box, BoxProps } from '@chakra-ui/react';
const FormLabel = ({
children,
...props
}: BoxProps & {
children: React.ReactNode;
}) => {
return (
<Box color={'myGray.900'} fontSize={'sm'} {...props}>
{children}
</Box>
);
};
export default FormLabel;