diff --git a/types/rheostat/index.d.ts b/types/rheostat/index.d.ts index 9e62865ce9..382ba79098 100644 --- a/types/rheostat/index.d.ts +++ b/types/rheostat/index.d.ts @@ -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 , Wil Lee +// Definitions by: Sasha Bayan , Wil Lee , Stefan Wer // 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;