@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
17 lines (16 loc) • 387 B
JavaScript
import { deepMerge } from '@websolutespa/payload-utils';
export const ComponentsDefaults = {
name: 'components',
type: 'blocks',
blocks: [],
admin: {
initCollapsed: true
}
};
export const withComponents = (options)=>{
const field = deepMerge({
...ComponentsDefaults
}, options);
return field;
};
//# sourceMappingURL=withComponents.js.map