react-sortable-hoc
react-sortable-hoc copied to clipboard
add more typescript tips
ts project need more ts tips
export function sortableContainer<P>(
wrappedComponent: WrappedComponent<P>,
config?: Config,
): React.ComponentClass<P & SortableContainerProps>;
export function sortableElement<P>(
wrappedComponent: WrappedComponent<P>,
config?: Config,
): React.ComponentClass<P & SortableElementProps>;
export function sortableHandle<P>(
wrappedComponent: WrappedComponent<P>,
config?: Config,
): React.ComponentClass<P>;