{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "gantt-holidays",
  "framework": "react",
  "type": "registry:component",
  "component": "Gantt",
  "variant": "holidays",
  "dependencies": [
    "@syncfusion/ej2-react-gantt"
  ],
  "description": "Gantt timeline marks holidays and excludes them from working-day task calculations.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/react/llms.txt",
    "skillPack": "syncfusion/react-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/react/js/gantt-holidays.md"
  },
  "files": [
    {
      "target": "src/components/gantt-holidays/Gantt.jsx",
      "content": "import { GanttComponent, Inject, Selection, DayMarkers, HolidaysDirective, HolidayDirective, ColumnsDirective, ColumnDirective } from '@syncfusion/ej2-react-gantt';\nimport { projectNewData } from '../datasource/gantt-data';\nconst Holidays = () => {\n    const taskFields = {\n        id: 'TaskID',\n        name: 'TaskName',\n        startDate: 'StartDate',\n        endDate: 'EndDate',\n        duration: 'Duration',\n        progress: 'Progress',\n        dependency: 'Predecessor',\n        parentID: 'ParentId'\n    };\n    const labelSettings = {\n        rightLabel: 'TaskName'\n    };\n    const splitterSettings = {\n        columnIndex: 1\n    };\n    const projectStartDate = new Date('03/25/2025');\n    const projectEndDate = new Date('07/20/2025');\n    return (<div className='control-pane'>\n      <div className='control-section'>\n        <GanttComponent id='Holidays' dataSource={projectNewData} highlightWeekends={true} treeColumnIndex={1} taskFields={taskFields} labelSettings={labelSettings} height='650px' taskbarHeight={25} rowHeight={46} projectStartDate={projectStartDate} projectEndDate={projectEndDate} splitterSettings={splitterSettings}>\n          <ColumnsDirective>\n            <ColumnDirective field='TaskID' visible={false} width='80'></ColumnDirective>\n            <ColumnDirective field='TaskName' width='280'></ColumnDirective>\n            <ColumnDirective field='StartDate'></ColumnDirective>\n            <ColumnDirective field='EndDate'></ColumnDirective>\n            <ColumnDirective field='Duration'></ColumnDirective>\n            <ColumnDirective field='Predecessor'></ColumnDirective>\n            <ColumnDirective field='Progress'></ColumnDirective>\n          </ColumnsDirective>\n          <HolidaysDirective>\n            <HolidayDirective from='03/28/2025' to='03/28/2025' label='Good Friday'></HolidayDirective>\n            <HolidayDirective from='03/30/2025' to='03/30/2025' label='Easter Sunday'></HolidayDirective>\n            <HolidayDirective from='05/26/2025' to='05/26/2025' label='Memorial Day'></HolidayDirective>\n            <HolidayDirective from='07/04/2025' to='07/04/2025' label='Independence Day'></HolidayDirective>\n          </HolidaysDirective>\n          <Inject services={[Selection, DayMarkers]}/>\n        </GanttComponent>\n      </div>\n    </div>);\n};\nexport default Holidays;\n"
    }
  ]
}