mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 08:25:07 +00:00
18 lines
307 B
TypeScript
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;
|