mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #17114 from markspolakovs/react-color-github-triangle
Add missing triangle prop to react-color GitHub
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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> {}
|
||||
|
||||
Reference in New Issue
Block a user