heheer 7a929db0a5
chore(ui): login page & workflow page (#3046)
* login page & number input & multirow select & llm select

* workflow

* adjust nodes
2024-11-07 10:04:58 +08:00

19 lines
446 B
TypeScript

import React from 'react';
import MyTooltip from '.';
import { IconProps } from '@chakra-ui/icons';
import MyIcon from '../Icon';
type Props = IconProps & {
label?: string | React.ReactNode;
};
const QuestionTip = ({ label, maxW, ...props }: Props) => {
return (
<MyTooltip label={label} maxW={maxW}>
<MyIcon name={'help' as any} w={'16px'} color={'myGray.500'} {...props} />
</MyTooltip>
);
};
export default QuestionTip;