UNPKG

@websolutespa/payload-plugin-bowl

Version:

Bowl PayloadCms plugin of the BOM Repository

15 lines (14 loc) 433 B
import { deepMerge } from '@websolutespa/payload-utils'; import { withCheckbox } from './withCheckbox'; export const withIsActive = (options = {})=>{ return withCheckbox(deepMerge({ name: 'isActive' }, options)); }; export const withIsActiveRequired = (options = {})=>{ return withCheckbox(deepMerge({ name: 'isActive', required: true }, options)); }; //# sourceMappingURL=withIsActive.js.map