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