Bin
2025-12-17 21f0498f62ada55651f4d232327e15fc47f498b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export type TipLinkParams = Record<string, string> & {
  experiment?: string;
  treatment?: string;
};
 
export type Tip = {
  title: string;
  content: string;
  description?: string;
  closable?: boolean;
  link: {
    url: string;
    label: string;
    params?: TipLinkParams;
  };
};
 
export type TipCollectionKey = "projectCreation" | "organizationPage" | "projectSettings";
 
export type TipsCollection = Record<TipCollectionKey, Tip[]>;
 
export type HeidiTipsProps = {
  collection: keyof TipsCollection;
};
 
export type HeidiTipProps = {
  tip: Tip;
  onDismiss: () => void;
  onLinkClick: () => void;
};