Major
Minor
{slots.map((slot) => {
const outerPosition = getPosition(slot.angleDeg, OUTER_RADIUS);
const innerPosition = getPosition(slot.angleDeg, INNER_RADIUS);
const countPosition = getPosition(slot.angleDeg, COUNT_RADIUS);
return (
{slot.outerItems.length > 1 ? (
) : (
{slot.outerItems.map((item) => (
))}
)}
{slot.innerItems.length > 1 ? (
) : (
{slot.innerItems.map((item) => (
))}
)}
{slot.accidentalLabel}
);
})}