mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
chore: adding missing examples in the gallery for several chart types (#22597)
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
import { ChartMetadata, ChartPlugin, t } from '@superset-ui/core';
|
||||
import thumbnail from '../images/thumbnail.png';
|
||||
import example1 from '../images/example1.jpg';
|
||||
import example2 from '../images/example2.jpg';
|
||||
import buildQuery from './buildQuery';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
@@ -38,6 +40,7 @@ export default class HandlebarsChartPlugin extends ChartPlugin {
|
||||
description: t('Write a handlebars template to render the data'),
|
||||
name: t('Handlebars'),
|
||||
thumbnail,
|
||||
exampleGallery: [{ url: example1 }, { url: example2 }],
|
||||
});
|
||||
|
||||
super({
|
||||
|
||||
Reference in New Issue
Block a user