UNPKG

@discoveryjs/discovery

Version:

Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards

170 lines (169 loc) 4.45 kB
declare function _default(view: any, group: any): { demo: { view: any; text: string; }; examples: ({ title: string; demo: any; beforeDemo?: undefined; highlightProps?: undefined; } | { title: string; beforeDemo: { view: string; source: string; }; demo: ({ view: any; data: string; text: string; content: string; } | { view: any; data: string; content: string; text?: undefined; } | { view: any; data: string; text: string; content?: undefined; } | { view: any; data: string; text?: undefined; content?: undefined; } | { view: any; data: number[]; text?: undefined; content?: undefined; })[]; highlightProps?: undefined; } | { title: string; beforeDemo: { view: string; source: string; }; highlightProps: string[]; demo: { view: any; data: { text: string; href: string; }; text?: undefined; color?: undefined; textColor?: undefined; darkColor?: undefined; darkTextColor?: undefined; href?: undefined; external?: undefined; onClick?: undefined; prefix?: undefined; postfix?: undefined; content?: undefined; }; } | { title: string; beforeDemo: { view: string; source: string; }; demo: { view: any; text: string; color: string; textColor: string; darkColor: string; darkTextColor: string; data?: undefined; href?: undefined; external?: undefined; onClick?: undefined; prefix?: undefined; postfix?: undefined; content?: undefined; }; highlightProps?: undefined; } | { title: string; highlightProps: string[]; demo: { view: any; text: string; href: string; external: boolean; data?: undefined; color?: undefined; textColor?: undefined; darkColor?: undefined; darkTextColor?: undefined; onClick?: undefined; prefix?: undefined; postfix?: undefined; content?: undefined; }; beforeDemo?: undefined; } | { title: string; highlightProps: string[]; demo: { view: any; text: string; onClick: any; data?: undefined; color?: undefined; textColor?: undefined; darkColor?: undefined; darkTextColor?: undefined; href?: undefined; external?: undefined; prefix?: undefined; postfix?: undefined; content?: undefined; }; beforeDemo?: undefined; } | { title: string; highlightProps: string[]; demo: { view: any; prefix: string; text: string; postfix: string; data?: undefined; color?: undefined; textColor?: undefined; darkColor?: undefined; darkTextColor?: undefined; href?: undefined; external?: undefined; onClick?: undefined; content?: undefined; }; beforeDemo?: undefined; } | { title: string; highlightProps: string[]; demo: { view: any; content: string[]; data?: undefined; text?: undefined; color?: undefined; textColor?: undefined; darkColor?: undefined; darkTextColor?: undefined; href?: undefined; external?: undefined; onClick?: undefined; prefix?: undefined; postfix?: undefined; }; beforeDemo?: undefined; })[]; }; export default _default;