Skip to content

Commit

Permalink
reorder params
Browse files Browse the repository at this point in the history
  • Loading branch information
anakaren-rojas committed Nov 26, 2024
1 parent 7c19062 commit 0ec45c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ type Params = {
ariaLabel?: string;
ariaLive?: AriaLive;
color?: string | undefined;
cursor?: CSSCursor | undefined;
constrain?: KeyboardMovementConstraint;
cursor?: CSSCursor | undefined;
// The focusableHandle element is assigned to the forwarded ref.
forwardedRef?: React.ForwardedRef<SVGGElement | null> | undefined;
/**
Expand Down Expand Up @@ -54,8 +54,8 @@ export function useControlPoint(params: Params): Return {
ariaLabel,
ariaLive = "polite",
color,
cursor,
constrain = (p) => snap(snapStep, p),
cursor,
forwardedRef = noop,
sequenceNumber = 1,
onMove = noop,
Expand Down

0 comments on commit 0ec45c5

Please sign in to comment.