import { Select as SealSelect } from '@gpustack/core-ui';
import React from 'react';
import { categoryConfig } from './model-tag';
const CategorySelect = (props: any) => {
const { options, ...rest } = props;
const optionRenderer = (option: any) => {
const config = categoryConfig[option.value] || {};
console.log('option:', option, 'config:', config);
return (
{React.cloneElement(config.icon)}
{option.label}
);
};
return ;
};
export default CategorySelect;