@atlaskit/tree
Version:
A React Component for displaying expandable and sortable tree hierarchies
10 lines (9 loc) • 550 B
TypeScript
/// <reference types="typings/react-beautiful-dnd-next" />
import { Component } from 'react';
import { type DraggableProvidedDraggableProps, type DraggableStateSnapshot } from 'react-beautiful-dnd-next';
import { type Props } from './TreeItem-types';
export default class TreeItem extends Component<Props> {
shouldComponentUpdate(nextProps: Props): boolean;
patchDraggableProps: (draggableProps: DraggableProvidedDraggableProps, snapshot: DraggableStateSnapshot) => DraggableProvidedDraggableProps;
render(): import("react").ReactNode;
}