import { ComponentSchema, fields } from '@keystatic/core';

export const createPathField = (defaultValue: string): ComponentSchema =>
  fields.text({
    label: 'Path',
    description: 'Path on the Website',
    defaultValue: defaultValue,
  });
