Skip to content

Commit

Permalink
SelectableComponent props are optional as well
Browse files Browse the repository at this point in the history
  • Loading branch information
aslamplr committed Feb 20, 2018
1 parent f620cac commit f959767
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions react-selectable.d.ts
Expand Up @@ -13,9 +13,9 @@ declare module 'react-selectable' {
}

interface ReactSelectableComponentProps {
key: number|string;
selected: boolean;
selectableKey: number|string;
key?: number|string;
selected?: boolean;
selectableKey?: number|string;
[key: string]: any;
}

Expand All @@ -27,4 +27,4 @@ declare module 'react-selectable' {

}
export const createSelectable: (component: React.ReactNode) => typeof SelectableComponent;
}
}

0 comments on commit f959767

Please sign in to comment.