-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
31 lines (28 loc) · 1.08 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const ColorBox = require("./src/components/color-box");
const { ScrollMenu } = require("./src/components/scroll-menu");
const { HandledInputBox, InputBox } = require("./src/components/input-box");
const { HandledInputPrompt, InputPrompt } = require("./src/components/input-prompt");
const useTerminalSize = require("./src/hooks/use-terminal-size");
const useInput = require("./src/patch/use-input");
const Prompt = require("./src/prompts/prompt");
const Input = require("./src/prompts/input");
const Select = require("./src/prompts/select");
/**
* @typedef {import("./src/components/input-prompt").InputPromptProps} InputPromptProps
* @typedef {import("./src/components/input-prompt").HandledInputPromptProps} HandledInputPromptProps
* @typedef {import("./src/components/color-box").ColorBoxProps} ColorBoxProps
* @typedef {import("./src/components/scroll-menu").ScrollMenuProps} ScrollMenuProps
*/
module.exports = {
ColorBox,
ScrollMenu,
HandledInputBox,
InputBox,
InputPrompt,
HandledInputPrompt,
useTerminalSize,
useInput,
Prompt,
Input,
Select
}