docs(docs): add cli configuration and components

This commit is contained in:
Prad Nukala committed 2026-07-12 18:50:57 -04:00
1 parent 3a238c34d9
commit 94b4bc509b
10 files changed
+293 -4

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import type * as React from 'react';
export function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T> {
return (value) => {
refs.forEach((ref) => {
if (typeof ref === 'function') {
ref(value);
} else if (ref) {
ref.current = value;
}
});
};
}