@twilio/flex-ui
Version:
Twilio Flex UI
29 lines (28 loc) • 1.29 kB
TypeScript
import { ProfileStatus } from "../../../flex-ui-core/src";
import { ProfileConnectorContextProps } from "../../context/ProfileConnectorContext";
export declare enum ProfileHighlightsChildrenKeys {
highlightsIcon = "highlights-icon",
highlightsTitle = "highlights-title",
highlightsChevron = "highlights-chevron",
highlightsSummary = "highlights-summary",
skeletonLoaderStack = "skeleton-loader-stack"
}
/**
* Properties of ProfileHighlights
* @typedef ProfileHighlights.ProfileHighlightsProps
* @property {string} [profileHighlightsTitle] - Profile Highlights Title
* @property {string} [profileSummary] - Profile Summary.
* @property {string} [profileSummaryStatus] - Profile Summary Status.
* @property {boolean} [profileSummaryError] - Profile Summary Error.
* @property {boolean} [profileSummaryLoading] - Profile Summary Loading.
* @since 2.9.0
*/
export interface ProfileHighlightsProps extends Required<Pick<ProfileConnectorContextProps, "showUnidentifiedProfileEnabled" | "historyEnabled" | "detailsEnabled">> {
profileHighlightsTitle?: string;
profileSummary: string;
profileSummaryStatus: string;
profileSummaryError: boolean;
profileSummaryLoading: boolean;
profileConnectSid?: string;
profileStatus: ProfileStatus;
}