Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akharkhonov committed Mar 3, 2020
1 parent b0f8060 commit de368d1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,12 @@ export interface UseAutocompleteMultipleProps<T> extends UseAutocompleteCommonPr
* @param {object} event The event source of the callback.
* @param {T[]} value
*/
onChange?: (event: React.ChangeEvent<{}>, value: T[], reason: ChangeReason, details?: ChangeDetails<T>) => void;
onChange?: (
event: React.ChangeEvent<{}>,
value: T[],
reason: ChangeReason,
details?: ChangeDetails<T>,
) => void;
}

export interface UseAutocompleteSingleProps<T> extends UseAutocompleteCommonProps<T> {
Expand All @@ -216,7 +221,12 @@ export interface UseAutocompleteSingleProps<T> extends UseAutocompleteCommonProp
* @param {object} event The event source of the callback.
* @param {T} value
*/
onChange?: (event: React.ChangeEvent<{}>, value: T | null, reason: ChangeReason, details?: ChangeDetails<T>) => void;
onChange?: (
event: React.ChangeEvent<{}>,
value: T | null,
reason: ChangeReason,
details?: ChangeDetails<T>,
) => void;
}

export type UseAutocompleteProps<T> =
Expand Down

0 comments on commit de368d1

Please sign in to comment.