UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

23 lines (22 loc) 366 B
"use client"; import { polarToCartesian as e } from "../PolarUtils.js"; function c(i) { var { cx: r, cy: t, radius: n, startAngle: a, endAngle: o } = i, s = e(r, t, n, a), l = e(r, t, n, o); return { points: [s, l], cx: r, cy: t, radius: n, startAngle: a, endAngle: o }; } export { c as getRadialCursorPoints };