Skip to content

Commit

Permalink
Fixed #1707 - Remove onSourceSelect and onTargetSelect callbacks from…
Browse files Browse the repository at this point in the history
… PickList
  • Loading branch information
mertsincan committed Dec 9, 2020
1 parent 0b12d1b commit 06e5118
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/picklist/PickList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ interface PickListProps {
className?: string;
sourceStyle?: object;
targetStyle?: object;
sourceSelection?: any;
targetSelection?: any;
showSourceControls?: boolean;
showTargetControls?: boolean;
metaKeySelection?: boolean;
Expand All @@ -20,8 +22,8 @@ interface PickListProps {
onMoveAllToSource?(e: {originalEvent: Event, value: any}): void;
onMoveToTarget?(e: {originalEvent: Event, value: any}): void;
onMoveAllToTarget?(e: {originalEvent: Event, value: any}): void;
onSourceSelect?(e: {originalEvent: Event, value: any}): void;
onTargetSelect?(e: {originalEvent: Event, value: any}): void;
onSourceSelectionChange?(e: {originalEvent: Event, value: any}): void;
onTargetSelectionChange?(e: {originalEvent: Event, value: any}): void;
}

export class PickList extends React.Component<PickListProps,any> {}

0 comments on commit 06e5118

Please sign in to comment.