feat: add cluster detail

This commit is contained in:
jialin
2026-01-09 20:51:48 +08:00
parent 7b5ce83cbd
commit afcd3e5693
32 changed files with 255 additions and 139 deletions
+5 -4
View File
@@ -55,6 +55,7 @@ interface ActionItem {
icon: React.ReactNode;
[key: string]: any;
}
interface FilterBarProps {
handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
handleSelectChange?: (value: any) => void;
@@ -76,7 +77,7 @@ interface FilterBarProps {
showDeleteButton?: boolean;
right?: React.ReactNode;
left?: React.ReactNode;
width?: {
widths?: {
input?: number;
select?: number;
};
@@ -102,7 +103,7 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
selectHolder,
right,
left,
width
widths
} = props;
const intl = useIntl();
@@ -181,7 +182,7 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
id: 'common.filter.name'
})
}
style={{ width: width?.input || 230 }}
style={{ width: widths?.input || 230 }}
allowClear
onChange={handleInputChange}
></Input>
@@ -190,7 +191,7 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
allowClear
showSearch={false}
placeholder={selectHolder}
style={{ width: width?.select || 230 }}
style={{ width: widths?.select || 230 }}
size="large"
onChange={handleSelectChange}
options={selectOptions}