4.8.18 test (#3543)

* perf: login check

* doc

* perf: llm model config

* perf: team clb config
This commit is contained in:
Archer
2025-01-07 14:21:05 +08:00
committed by GitHub
parent 07cc849877
commit f556fbf0d5
49 changed files with 1644 additions and 1535 deletions

View File

@@ -18,7 +18,6 @@ const MyIconButton = ({
}: Props) => {
return (
<Flex
mr={1}
p={1}
color={'myGray.500'}
rounded={'sm'}

View File

@@ -1,15 +1,15 @@
import React from 'react';
import React, { forwardRef } from 'react';
import { Flex, Box, BoxProps } from '@chakra-ui/react';
import MyIcon from '../Icon';
type Props = Omit<BoxProps, 'onChange'> & {
type Props<T = string> = Omit<BoxProps, 'onChange'> & {
list: {
icon?: string;
label: string | React.ReactNode;
value: string;
value: T;
}[];
value: string;
onChange: (e: string) => void;
value: T;
onChange: (e: T) => void;
};
const FillRowTabs = ({ list, value, onChange, py = '7px', px = '12px', ...props }: Props) => {
@@ -61,4 +61,6 @@ const FillRowTabs = ({ list, value, onChange, py = '7px', px = '12px', ...props
);
};
export default FillRowTabs;
export default forwardRef(FillRowTabs) as <T>(
props: Props<T> & { ref?: React.Ref<HTMLSelectElement> }
) => JSX.Element;