@websolutespa/payload-plugin-bowl
Version:
Bowl PayloadCms plugin of the BOM Repository
17 lines (16 loc) • 452 B
JavaScript
import { deepMerge } from '@websolutespa/payload-utils';
import { withText } from './withText';
export const withTitle = (options = {})=>{
return withText(deepMerge({
name: 'title',
localized: true
}, options));
};
export const withTitleRequired = (options = {})=>{
return withText(deepMerge({
name: 'title',
localized: true,
required: true
}, options));
};
//# sourceMappingURL=withTitle.js.map