Merge pull request #32070 from StefanWerW/master

Update rheostat types to version 3.0.2
This commit is contained in:
Benjamin Lichtman
2019-01-24 16:14:03 -08:00
committed by GitHub
+5 -2
View File
@@ -1,6 +1,6 @@
// Type definitions for rheostat 2.1
// Type definitions for rheostat 3.0
// Project: https://github.com/airbnb/rheostat
// Definitions by: Sasha Bayan <https://github.com/SashaBayan>, Wil Lee <https://github.com/kourge>
// Definitions by: Sasha Bayan <https://github.com/SashaBayan>, Wil Lee <https://github.com/kourge>, Stefan Wer <https://github.com/StefanWerW>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -20,6 +20,7 @@ export interface PublicState {
}
export interface Events {
getNextHandlePosition?(handleIdx: number, percentPosition: number): number;
onClick?(): any;
onChange?(publicState: PublicState): any;
onKeyPress?(): any;
@@ -31,6 +32,8 @@ export interface Events {
export interface Props extends Events {
algorithm?: Algorithm;
autoAdjustVerticalPosition?: boolean;
background?: React.ReactType;
className?: string;
disabled?: boolean;
handle?: React.ReactType;