UNPKG

@twilio/flex-ui

Version:

Twilio Flex UI

37 lines (36 loc) 1.27 kB
import { CSSProps } from "../../flex-ui-core/src"; import { WorkerState } from "../../state/WorkerState"; /** * Properties of OutboundDialerPanel theme. * * @typedef Theme.OutboundDialerPanelThemeProps * @property {CSSProps} Container - Styles container in OutboundDialerPanel. * @property {CSSProps} Container.disabled - Styles disabled state. * @property {CSSProps} Header - Styles header in OutboundDialerPanel. * @property {CSSProps} HeaderButton - Styles header button in OutboundDialerPanel. */ export interface OutboundDialerPanelThemeProps { Container: CSSProps & { disabled?: CSSProps; }; Header: CSSProps; HeaderButton: CSSProps; } /** * Properties of OutboundDialerPanel. * * @typedef OutboundDialerPanel.OutboundDialerPanelProps */ export interface OutboundDialerPanelProps { } /** * Properties of OutboundDialerPanelChildren. * * @typedef OutboundDialerPanel.OutboundDialerPanelChildrenProps * @property {WorkerState} [worker] - Worker state based on Worker SDK. * @property {boolean} [hasIncomingCallReservation] - Whether user has incoming call reservation. */ export interface OutboundDialerPanelChildrenProps extends OutboundDialerPanelProps { worker: WorkerState; hasIncomingCallReservation?: boolean; }