@ceed/cds 1.40.3-next.5 → 1.40.3-next.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export declare function useMergedRef<T>(a: React.Ref<T> | undefined, b: React.Re
16
16
  * Joy의 slotProps 값은 객체이거나 ownerState를 받는 함수라 두 형태를 모두 보존한다.
17
17
  * 호출자가 이미 슬롯에 ref를 넘겼다면 덮어쓰지 않고 합친다.
18
18
  *
19
- * 객체 형태는 `useMergedRef`로 ref identity를 고정한다. 함수 형태는 Joy가 렌더마다 다시 호출해
20
- * 새 객체를 돌려주므로 고정할 방법이 없다 함수형 slotProps에 콜백 ref를 넣는 건 피해야 한다.
19
+ * 형태 모두 ref identity를 고정한다. 객체 형태는 `useMergedRef`로, 함수 형태는 Joy가 렌더마다 다시 호출해
20
+ * 새 객체를 돌려주므로 최신 슬롯 ref만 box에 담고 콜백 하나를 재사용한다.
21
21
  */
22
22
  export declare function useSlotRef<S>(slotProp: S, ref: React.Ref<any>): S;