import { Tab } from 'payload'

export const newsSection: Tab = {
  name: 'news',
  interfaceName: 'NewsSection',
  label: 'News',
  fields: [
    {
      name: 'title',
      type: 'text',
      localized: true,
      label: 'Title',
      required: true,
    },
    {
      name: 'subtitle',
      type: 'text',
      localized: true,
      label: 'Subtitle',
      required: true,
    },
  ],
}
