Skip to content

Commit

Permalink
cleanup type
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcao13 committed Aug 3, 2023
1 parent f8592d8 commit 8b4b28d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/Dashboard/dashboard-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,10 @@ export interface DashboardCardDescriptor {
propControls: PropControl[];
advancedConfig?: JSX.Element;
}
export type DashboardCardFC<P = Props> = React.FC<P> & {
export type DashboardCardFC<P> = React.FC<P> & {
cardComponentName: string;
};

interface Props {}

export interface PropControlExtra {
displayMapper?: (value: string) => string /* only has effect with 'select' PropControl kind */;
min?: number;
Expand Down

0 comments on commit 8b4b28d

Please sign in to comment.