mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Chore: Bumps prettier version for new typescript syntax support (#20463)
* Chore: Bumps prettier version for new typescript syntax support * Ran new version of prettier against the codebase
This commit is contained in:
@@ -11,7 +11,10 @@ import { PieChartOptions } from './types';
|
||||
|
||||
const labelWidth = 8;
|
||||
|
||||
const pieChartOptions = [{ value: PieChartType.PIE, label: 'Pie' }, { value: PieChartType.DONUT, label: 'Donut' }];
|
||||
const pieChartOptions = [
|
||||
{ value: PieChartType.PIE, label: 'Pie' },
|
||||
{ value: PieChartType.DONUT, label: 'Donut' },
|
||||
];
|
||||
|
||||
export class PieChartOptionsBox extends PureComponent<PanelEditorProps<PieChartOptions>> {
|
||||
onPieTypeChange = (pieType: any) => this.props.onOptionsChange({ ...this.props.options, pieType: pieType.value });
|
||||
|
||||
Reference in New Issue
Block a user