import { FunctionComponent, HTMLProps } from 'react'; import { DraggableListOptions } from '../DraggableList/DraggableList'; import { ListComponentProps, ListItemBodyComponentProps, ListItemComponentProps } from './TransferListList'; export interface ReorderableListProps extends Omit, 'onChange'> { /** The ids of the items in the list. */ ids: string[]; /** Called when a request to change the order of the items is made. */ onChange?: (ids: string[]) => void; /** Specify a custom component to render a drag handle. */ dragHandleComponent?: FunctionComponent>; /** Specify a custom component to render the list container. * Defaults to a ol element */ listComponent?: FunctionComponent; /** Specify a custom component to render the list item container. * Defaults to a li element */ listItemComponent?: FunctionComponent; /** Specify a custom component to render the body of each list item. * Defaults to a span element containing the id of the item. */ listItemBodyComponent?: FunctionComponent; /** Additional configuration options for drag and drop behaviour. */ options?: DraggableListOptions; } export declare const ReorderableList: FunctionComponent;