@wix/design-system
Version:
@wix/design-system
48 lines • 1.69 kB
TypeScript
export default TimeTable;
declare class TimeTable extends React.PureComponent<any, any, any> {
static displayName: string;
static defaultProps: {
columns: never[];
insertPosition: string;
height: string;
};
static getDerivedStateFromProps(nextProps: any, prevState: any): any;
constructor(props: any);
constructor(props: any, context: any);
state: {
hoveredColumnIndex: null;
dragging: boolean;
columns: never[];
sortableListBaseItems: never[];
groupName: string;
};
_renderHeader: () => React.JSX.Element;
_renderContent: (icons: any) => React.JSX.Element;
render(): React.JSX.Element;
_renderItem: ({ isPlaceholder, previewStyles, item: { content, disabled, draggable }, }: {
isPlaceholder: any;
previewStyles: any;
item: {
content: any;
disabled: any;
draggable: any;
};
}) => React.JSX.Element;
_renderActions: (columnIndex: any) => React.JSX.Element | null;
_renderAddItemButton: (columnIndex: any, icons: any) => React.JSX.Element;
_handleDrop: ({ addedIndex: addedItemIndex, removedIndex: removedItemIndex, addedToContainerId, removedFromContainerId, }: {
addedIndex: any;
removedIndex: any;
addedToContainerId: any;
removedFromContainerId: any;
}) => void;
_handleMouseEnter: (columnIndex: any) => void;
_handleMouseLeave: () => void;
_handleDragStart: () => void;
_handleDragEnd: () => void;
_handleCanDrag: ({ item }: {
item: any;
}) => boolean;
}
import React from 'react';
//# sourceMappingURL=TimeTable.d.ts.map