Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: lint (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw authored May 7, 2019
1 parent 074aa39 commit bf24316
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/superset-ui-chart/src/components/SuperChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ export interface SuperChartProps {
export default class SuperChart extends React.PureComponent<SuperChartProps, {}> {
static defaultProps = defaultProps;

processChartProps: (input: {
chartProps: ChartProps;
preTransformProps?: PreTransformProps;
transformProps?: TransformProps;
postTransformProps?: PostTransformProps;
}) => any;

createLoadableRenderer: (input: {
chartType: string;
overrideTransformProps?: TransformProps;
}) => LoadableRenderer<RenderProps, LoadedModules> | (() => null);

constructor(props: SuperChartProps) {
super(props);

Expand Down Expand Up @@ -116,18 +128,6 @@ export default class SuperChart extends React.PureComponent<SuperChartProps, {}>
);
}

processChartProps: (input: {
chartProps: ChartProps;
preTransformProps?: PreTransformProps;
transformProps?: TransformProps;
postTransformProps?: PostTransformProps;
}) => any;

createLoadableRenderer: (input: {
chartType: string;
overrideTransformProps?: TransformProps;
}) => LoadableRenderer<RenderProps, LoadedModules> | (() => null);

renderChart(loaded: LoadedModules, props: RenderProps) {
const { Chart, transformProps } = loaded;
const { chartProps, preTransformProps, postTransformProps } = props;
Expand Down

0 comments on commit bf24316

Please sign in to comment.