Skip to content

Commit

Permalink
Fixed #405
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed May 10, 2018
1 parent f87e68b commit b0f7cde
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/colorpicker/ColorPicker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface ColorPickerProps {
defaultColor?: string;
inline?: boolean;
format?: string;
appendTo?: string;
appendTo?: any;
disabled?: boolean;
tabindex?: string;
inputId?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/colorpicker/ColorPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ColorPicker extends Component {
defaultColor: PropTypes.string,
inline: PropTypes.bool,
format: PropTypes.string,
appendTo: PropTypes.object,
appendTo: PropTypes.any,
disabled: PropTypes.bool,
tabIndex: PropTypes.string,
inputId: PropTypes.string,
Expand Down
10 changes: 10 additions & 0 deletions src/components/colorpicker/ColorPickerPanel.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React = require("react");

interface ColorPickerPanelProps {
appendTo?: any;
inline?: boolean;
disabled?: string;
onClick?(): void;
}

export class ColorPicker extends React.Component<ColorPickerPanelProps,any> {}
2 changes: 1 addition & 1 deletion src/components/colorpicker/ColorPickerPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ColorPickerPanel extends Component {
}

static propsTypes = {
appendTo: PropTypes.object,
appendTo: PropTypes.any,
inline: PropTypes.bool,
disabled: PropTypes.bool,
onClick: PropTypes.func
Expand Down

0 comments on commit b0f7cde

Please sign in to comment.