fix: add http params focus & ui (#2611)

This commit is contained in:
heheer
2024-09-04 13:37:29 +08:00
committed by GitHub
parent 64708ea424
commit d6233cd7b1
8 changed files with 52 additions and 62 deletions

View File

@@ -10,6 +10,7 @@ type Props<ValueType = string> = Omit<GridProps, 'onChange'> & {
size?: 'sm' | 'md' | 'lg';
inlineStyles?: FlexProps;
activeColor?: string;
defaultColor?: string;
onChange: (value: ValueType) => void;
};
@@ -18,6 +19,7 @@ const LightRowTabs = <ValueType = string,>({
size = 'md',
value,
activeColor = 'primary.600',
defaultColor = 'transparent',
onChange,
inlineStyles,
...props
@@ -63,7 +65,8 @@ const LightRowTabs = <ValueType = string,>({
py={sizeMap.inlineP}
alignItems={'center'}
justifyContent={'center'}
borderBottom={'2px solid transparent'}
borderBottom={'2px solid'}
borderColor={defaultColor}
px={3}
whiteSpace={'nowrap'}
{...(value === item.value