@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
15 lines (14 loc) • 448 B
JavaScript
import { deepMerge } from '@websolutespa/payload-utils';
import { withRichText } from './withRichText';
export const withDescription = (options = {})=>{
return withRichText(deepMerge({
name: 'description'
}, options));
};
export const withDescriptionRequired = (options = {})=>{
return withRichText(deepMerge({
name: 'description',
required: true
}, options));
};
//# sourceMappingURL=withDescription.js.map