mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
* Prettier all the JS files * Add GitHub Action to autoformat code pushed to master * Fix eslint violation due to formatting. * Remove GitHub actions for styling * Add restyled.io config
22 lines
400 B
JavaScript
22 lines
400 B
JavaScript
import { registerVisualization } from "@/visualizations";
|
|
|
|
import getOptions from "./getOptions";
|
|
import Renderer from "./Renderer";
|
|
import Editor from "./Editor";
|
|
|
|
export default function init() {
|
|
registerVisualization({
|
|
type: "MAP",
|
|
name: "Map (Markers)",
|
|
getOptions,
|
|
Renderer,
|
|
Editor,
|
|
|
|
defaultColumns: 3,
|
|
defaultRows: 8,
|
|
minColumns: 2,
|
|
});
|
|
}
|
|
|
|
init.init = true;
|