@twilio/flex-ui
Version:
Twilio Flex UI
31 lines (30 loc) • 1.08 kB
TypeScript
import { AgentDesktopViewChildrenProps } from "../AgentDesktopView.definitions";
/**
* Orientation of splitter component
* @readonly
* @enum {"auto"|"vertical"|"horizontal"} SplitterOrientation
* @property {"auto"} auto auto
* @property {"vertical"} vertical vertical
* @property {"horizontal"} horizontal horizontal
* @memberof Panel1
*/
export declare enum SplitterOrientation {
auto = "auto",
vertical = "vertical",
horizontal = "horizontal"
}
export declare enum Panel1ChildrenKeys {
splitter1 = "splitter-1",
workerDirectory = "worker-directory",
noTasks = "no-tasks",
taskCanvas = "taskCanvas"
}
/**
* Panel1 properties
* @typedef {AgentDesktopViewChildrenProps} Panel1.AgentDesktopPanel1Props
* @property {Panel1.SplitterOrientation} [splitterOrientation] Orientation of splitter component
* @property {DynamicContentStore.DynamicComponentChildren<Panel1.AgentDesktopPanel1Props>} [children] - children
*/
export interface AgentDesktopPanel1Props extends AgentDesktopViewChildrenProps {
splitterOrientation?: SplitterOrientation;
}