Skip to content

Commit 870cc4f

Browse files
committed
fix(types): use direct re-export for Prompt so tsup emits DTS declarations
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 35e351c commit 870cc4f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/custom/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import { LearningCard } from './LearningCard';
3838
import { BasicMarkdown, RenderMarkdown } from './Markdown';
3939
import { ModalCard } from './ModalCard';
4040
import PopperListener, { IPopperListener } from './PopperListener';
41-
import { PROMPT_VARIANTS, PromptComponent, type PromptRef } from './Prompt';
4241
import ResponsiveDataTable, {
4342
DataTableEllipsisMenu,
4443
ResponsiveDataTableProps
@@ -75,6 +74,7 @@ export { Terminal } from './Terminal';
7574
export { TOC } from './TOCChapter';
7675
export { TOCLearning } from './TOCLearning';
7776
export { UserSearchField } from './UserSearchField';
77+
export { PROMPT_VARIANTS, PromptComponent, type PromptRef } from './Prompt';
7878

7979
export {
8080
ActionButton,
@@ -102,10 +102,7 @@ export {
102102
InfoTooltip,
103103
LearningCard,
104104
ModalCard,
105-
PROMPT_VARIANTS,
106105
PopperListener,
107-
PromptComponent,
108-
type PromptRef,
109106
ResponsiveDataTable,
110107
SearchBar,
111108
StyledDialogActions,

0 commit comments

Comments
 (0)