@zjlab-fe/data-hub-ui 0.16.2 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export default function Demo(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export interface ModelCardProps {
3
+ id: number;
4
+ name: string;
5
+ provider: string;
6
+ description: string;
7
+ tags: string[];
8
+ supportTraining: boolean;
9
+ supportDeployment: boolean;
10
+ supportEvaluation: boolean;
11
+ image?: string;
12
+ stars: number;
13
+ onTrain: () => void;
14
+ onDeploy: () => void;
15
+ onEvaluate: () => void;
16
+ onExperience: () => void;
17
+ }
18
+ declare const ModelCard: React.FC<ModelCardProps>;
19
+ export default ModelCard;
@@ -35,4 +35,6 @@ export type { RadioCardProps, RadioOption } from './components/radio-card';
35
35
  export { default as OperatorChain } from './components/operator-chain';
36
36
  export type { OperatorChainProps, SingleCardItem, OperatorChainRef } from './components/operator-chain';
37
37
  export { default as CorpusCard } from './components/corpus-card';
38
+ export { default as ModelCard } from './components/model-card';
39
+ export type { ModelCardProps } from './components/model-card';
38
40
  export type { CorpusCardProps, ProcessTemplateListItem, ProcessTemplateLabel, LabelTypeColor, } from './components/corpus-card';