2024-08-20 23:25:37 +04:00

7 lines
227 B
JavaScript

import { useMemo } from 'react';
import PickerButton from '../PickerButton';
export default function useComponents(components) {
return useMemo(() => Object.assign({
button: PickerButton
}, components), [components]);
}