@discoveryjs/discovery
Version:
Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
91 lines (90 loc) • 2.31 kB
TypeScript
declare namespace _default {
namespace demo {
let view: string;
let source: string;
}
let examples: ({
title: string;
demo: string;
beforeDemo?: undefined;
highlightProps?: undefined;
} | {
title: string;
beforeDemo: string[];
demo: string;
highlightProps?: undefined;
} | {
title: string;
beforeDemo: string[];
demo: {
view: string;
source: string[];
sectionPrelude?: undefined;
sectionPostlude?: undefined;
codeConfig?: undefined;
};
highlightProps?: undefined;
} | {
title: string;
highlightProps: string[];
beforeDemo: string;
demo: ({
view: string;
source: string;
anchors?: undefined;
} | {
view: string;
anchors: boolean;
source: string;
})[];
} | {
title: string;
highlightProps: string[];
demo: {
view: string;
source: string;
sectionPrelude: string;
sectionPostlude: {
view: string;
href: string;
text: string;
};
codeConfig?: undefined;
};
beforeDemo?: undefined;
} | {
title: string;
highlightProps: string[];
beforeDemo: string[];
demo: {
view: string;
source: string;
codeConfig: {
prelude: {
view: string;
content: string[];
};
postlude: string;
actionButtons: {
view: string;
text: string;
onClick: any;
}[];
};
sectionPrelude?: undefined;
sectionPostlude?: undefined;
};
} | {
title: string;
demo: {
view: string;
source: string[];
sectionPrelude?: undefined;
sectionPostlude?: undefined;
codeConfig?: undefined;
};
beforeDemo?: undefined;
highlightProps?: undefined;
})[];
}
export default _default;