@discoveryjs/discovery
Version:
Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
95 lines (94 loc) • 2.36 kB
TypeScript
declare namespace _default {
namespace demo {
let view: string;
let item: string;
namespace data {
let text: string;
let children: ({
text: string;
children?: undefined;
} | {
text: string;
children: {
text: string;
}[];
})[];
}
}
let examples: ({
title: string;
highlightProps: string[];
demo: {
view: string;
item: string;
expanded: number;
emptyText?: undefined;
data?: undefined;
onToggle?: undefined;
limitLines?: undefined;
};
demoData: {
text: string;
children: ({
text: string;
children?: undefined;
} | {
text: string;
children: {
text: string;
}[];
})[];
};
} | {
title: string;
highlightProps: string[];
demo: {
view: string;
emptyText: string;
data: null;
item?: undefined;
expanded?: undefined;
onToggle?: undefined;
limitLines?: undefined;
};
demoData?: undefined;
} | {
title: string;
highlightProps: string[];
demo: {
view: string;
item: string;
onToggle: () => void;
expanded?: undefined;
emptyText?: undefined;
data?: undefined;
limitLines?: undefined;
};
demoData: {
text: string;
children: ({
text: string;
children?: undefined;
} | {
text: string;
children: {
text: string;
}[];
})[];
};
} | {
title: string;
highlightProps: string[];
demoData: any;
demo: {
view: string;
item: string;
limitLines: number;
expanded?: undefined;
emptyText?: undefined;
data?: undefined;
onToggle?: undefined;
};
})[];
}
export default _default;