Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Mar 19, 2024
1 parent f99bfe5 commit 3480f93
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/RadialMenu/RadialSlice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,39 @@ export interface MenuItem {
}

interface RadialSliceProps extends MenuItem {
/**
* The starting angle of the radial slice, in degrees.
*/
startAngle: number;

/**
* The ending angle of the radial slice, in degrees.
*/
endAngle: number;

/**
* The skew of the radial slice.
*/
skew: number;

/**
* Whether the radial slice is polar (true) or not (false).
*/
polar: boolean;

/**
* The central angle of the radial slice, in degrees.
*/
centralAngle: number;

/**
* The radius of the radial slice.
*/
radius: number;

/**
* The inner radius of the radial slice.
*/
innerRadius: number;
}

Expand Down

0 comments on commit 3480f93

Please sign in to comment.