Files
redash/client/app/components/ColorBox.jsx
Arik Fraimovich 56d3be2248 Prettier all the Javascript code & GitHub Action (#4433)
* 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
2019-12-11 17:05:38 +02:00

13 lines
281 B
JavaScript

// ANGULAR_REMOVE_ME
import { react2angular } from "react2angular";
import ColorPicker from "@/components/ColorPicker";
import "./color-box.less";
export default function init(ngModule) {
ngModule.component("colorBox", react2angular(ColorPicker.Swatch));
}
init.init = true;