Skip to content

Commit

Permalink
Component | Donut: Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Dec 11, 2024
1 parent 66f8c87 commit 29dcbed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ts/src/components/donut/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export interface DonutConfigInterface<Datum> extends ComponentConfigInterface {
backgroundAngleRange?: [number, number];

/** Central labels horizontal offset in pixels. Default: `undefined` */
centralLabelsOffsetX?: undefined;
centralLabelsOffsetX?: number;

/** Central labels vertical offset in pixels. Default: `undefined` */
centralLabelsOffsetY?: undefined;
centralLabelsOffsetY?: number;
}

export const DonutDefaultConfig: DonutConfigInterface<unknown> = {
Expand Down

0 comments on commit 29dcbed

Please sign in to comment.