From 9ae552e8405f8bb85c3189d2685c819148e1317a Mon Sep 17 00:00:00 2001 From: Bluefox Date: Sat, 23 Nov 2024 20:46:10 +0000 Subject: [PATCH] Export schedule type (#2830) --- packages/adapter-react-v5/src/Components/Schedule.tsx | 2 +- packages/adapter-react-v5/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/adapter-react-v5/src/Components/Schedule.tsx b/packages/adapter-react-v5/src/Components/Schedule.tsx index 9892d7387..269179b3e 100644 --- a/packages/adapter-react-v5/src/Components/Schedule.tsx +++ b/packages/adapter-react-v5/src/Components/Schedule.tsx @@ -152,7 +152,7 @@ function padding(num: number): string { return `${num}`; } -interface ScheduleConfig { +export interface ScheduleConfig { time: { exactTime: boolean; start: string; diff --git a/packages/adapter-react-v5/src/index.ts b/packages/adapter-react-v5/src/index.ts index 95bed9896..21f8b2218 100644 --- a/packages/adapter-react-v5/src/index.ts +++ b/packages/adapter-react-v5/src/index.ts @@ -41,7 +41,7 @@ export { } from './Components/ObjectBrowser'; export { Router } from './Components/Router'; export { SaveCloseButtons } from './Components/SaveCloseButtons'; -export { Schedule } from './Components/Schedule'; +export { Schedule, type ScheduleConfig } from './Components/Schedule'; export { SelectWithIcon } from './Components/SelectWithIcon'; export { TabContainer } from './Components/TabContainer'; export { TabContent } from './Components/TabContent';