Merge pull request #17114 from markspolakovs/react-color-github-triangle

Add missing triangle prop to react-color GitHub
This commit is contained in:
Mine Starks
2017-06-15 16:02:55 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for react-color 2.11
// Project: https://github.com/casesandberg/react-color/
// Definitions by: Karol Janyst <https://github.com/LKay>
// Definitions by: Karol Janyst <https://github.com/LKay>, Marks Polakovs <https://github.com/markspolakovs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
+1
View File
@@ -4,6 +4,7 @@ import { ColorPickerProps } from "react-color";
export interface GithubPickerProps extends ColorPickerProps<GithubPicker> {
colors?: string[];
width?: string;
triangle?: 'hide' | 'top-left' | 'top-right';
}
export default class GithubPicker extends Component<GithubPickerProps, any> {}