mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 01:00:14 -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
23 lines
417 B
JavaScript
23 lines
417 B
JavaScript
import { registerVisualization } from "@/visualizations";
|
|
|
|
import getOptions from "./getOptions";
|
|
import Renderer from "./Renderer";
|
|
import Editor from "./Editor";
|
|
|
|
export default function init() {
|
|
registerVisualization({
|
|
type: "TABLE",
|
|
name: "Table",
|
|
getOptions,
|
|
Renderer,
|
|
Editor,
|
|
|
|
autoHeight: true,
|
|
defaultRows: 14,
|
|
defaultColumns: 3,
|
|
minColumns: 2,
|
|
});
|
|
}
|
|
|
|
init.init = true;
|