261116_01_ENH: 색상 선택 컴포넌트(kri-color-palette) 추가 및 선택적 투명도 지원

This commit is contained in:
2026-11-16 16:54:13 +09:00
parent bffd953343
commit 8625593ac9
10 changed files with 2231 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import * as React from "react";
function useRefWithInit<T>(init: () => T): React.RefObject<T> {
const [ref] = React.useState(() => ({ current: init() }));
return ref;
}
export { useRefWithInit };