Skip to content

Commit

Permalink
Fixed types not mapped correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
underfisk committed Apr 14, 2021
1 parent ff05ae5 commit 7e92940
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gridWrapper/gridWrapperProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ import {
} from '../ApolloSpreadsheetProps'
import { MergePosition } from '../mergeCells'

export type DisableSortFilter = (column: Column) => boolean | boolean
export type OutsideClickDeselect = (target: HTMLElement) => boolean | boolean
export type DisableSortFilterCallback = (column: Column) => boolean
export type OutsideClickDeselectCallback = (target: HTMLElement) => boolean
export type DisableSortFilter = boolean | DisableSortFilterCallback
export type OutsideClickDeselect = boolean | OutsideClickDeselectCallback

export interface GridWrapperProps
extends Pick<ApolloDataProps, 'rows' | 'columns' | 'mergeCells'>,
Expand Down

0 comments on commit 7e92940

Please sign in to comment.