UNPKG

@twilio/flex-ui

Version:

Twilio Flex UI

176 lines (175 loc) 9.63 kB
import { DynamicContentStore } from "../../../flex-ui-core/src"; import * as React from "react"; import { ProfileHighlightsChildrenKeys, ProfileHighlightsProps } from "./ProfileHighlights.definitions"; /** * @alias UnifedProfilesContainer.ProfileHighlights * @classdesc UnifiedProfilesContainer.ProfileHighlights is the view of the Profile Highlights component * @component * @param {ProfileHighlights.ProfileHighlightsProps} props - Properties to be passed to configure this component. * @category Components / Programmable * @subcategory Components * @since 2.9.0 */ export declare class ProfileHighlights extends React.Component<ProfileHighlightsProps> { static readonly displayName = "ProfileHighlights"; /** * Dynamic content store * @name Content * @static * @type {DynamicContentStore<ProfileHighlightsProps, ProfileHighlightsChildrenKeys>} * @memberof UnifiedProfilesContainer.ProfileHighlights * @example UnifiedProfilesContainer.ProfileHighlights.Content * @readonly * @since 2.9.0 */ static readonly Content: DynamicContentStore<ProfileHighlightsProps, ProfileHighlightsChildrenKeys>; /** * Default properties * @static * @type {ProfileHighlights.ProfileHighlightsProps} * @readonly * @since 2.9.0 */ static readonly defaultProps: ProfileHighlightsProps; render(): JSX.Element; } export declare const Connected: { new (props: Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps> | Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>): { render(): JSX.Element; context: any; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>> & Readonly<{ children?: React.ReactNode | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>, context: any): { render(): JSX.Element; context: any; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>> & Readonly<{ children?: React.ReactNode | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; } & { children?: React.ReactNode | undefined; }, keyof import("../../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void; }; readonly displayName: string; contextType?: React.Context<any> | undefined; } & import("hoist-non-react-statics").NonReactStatics<React.FC<Pick<ProfileHighlightsProps, keyof ProfileHighlightsProps> & { theme?: import("@emotion/react").Theme; }>, {}>;