@twilio/flex-ui
Version:
Twilio Flex UI
38 lines (37 loc) • 1.2 kB
TypeScript
import { DynamicContentStore } from "../../flex-ui-core/src";
import * as React from "react";
import { ITask } from "../../models";
import * as AppConfig from "../../state/AppConfig";
import { TaskListChildrenKeys, TaskListProps } from "./TaskList.definitions";
/**
* @classdesc This is a container for TaskList.
* @component
* @hideconstructor
* @param {TaskList.TaskListProps} props - Properties to be passed to configure this component.
* @category Components / Programmable
* @subcategory Components
*/
export declare class TaskList extends React.PureComponent<TaskListProps> {
static readonly displayName = "TaskList";
/**
* Dynamic content store
*
* @static
* @type {DynamicContentStore<TaskList.TaskListProps>}
* @readonly
*/
static readonly Content: DynamicContentStore<TaskListProps, TaskListChildrenKeys>;
static readonly IncludeAllFilter: AppConfig.TaskFilter;
/**
* Default properties
*
* @static
* @type {TaskList.TaskListProps}
* @readonly
*/
static readonly defaultProps: {
compareFunction: (a: ITask, b: ITask) => number;
};
static updateAll(): void;
render(): JSX.Element;
}