react-custom-tours
Version:
A library with tips that you can attach to blocks on your sites so that users can more easily understand how to use your site
25 lines (24 loc) • 501 B
TypeScript
export type TipDataItem = {
idx: number;
nodeId: string;
title?: string;
text: string;
maxWidth?: number;
};
export interface TipDataItemWithNode extends TipDataItem {
node: HTMLElement | null;
}
export type CustomColors = {
light: Partial<ColorTheme>;
dark: Partial<ColorTheme>;
};
type ColorTheme = {
dark: string;
gray: string;
lightGray: string;
light: string;
lightColor: string;
primary: string;
highlightBorder: string;
};
export {};