Remove prop duplicates

old
Per Bergqwist 2016-08-10 09:54:05 +02:00
parent 30f16231a0
commit c016565a5f
4 changed files with 3 additions and 31 deletions

View File

@ -193,9 +193,9 @@ interface IconButtonProps extends __ReactToolbox.Props {
*/
neutral?: boolean;
/**
* Indicates if the button should have primary color.
* @default false
*/
* Indicates if the button should have primary color.
* @default false
*/
primary?: boolean;
/**
* If true, component will have a ripple effect on click.

16
lib/button/index.d.ts vendored
View File

@ -102,14 +102,6 @@ interface ButtonProps extends __ReactToolbox.Props {
* @default true
*/
neutral?: boolean;
/**
* Fires after the mouse leaves the Component.
*/
onMouseLeave?: Function;
/**
* Fires after the mouse is released from the Component.
*/
OnMouseUp?: Function;
/**
* Indicates if the button should have primary color.
* @default false
@ -200,14 +192,6 @@ interface IconButtonProps extends __ReactToolbox.Props {
* @default true
*/
neutral?: boolean;
/**
* Fires after the mouse leaves the Component.
*/
onMouseLeave?: Function;
/**
* Fires after the mouse is released from the Component.
*/
OnMouseUp?: Function;
/**
* Indicates if the button should have primary color.
* @default false

View File

@ -111,10 +111,6 @@ interface InputProps extends __ReactToolbox.Props {
* Callback function that is fired when a key is pressed.
*/
onKeyPress?: Function;
/**
* Callback function that is fired when mouse down.
*/
onMouseDown?: Function;
/**
* If true, the html input has a required attribute.
* @default false

View File

@ -14,14 +14,6 @@ export interface TooltipTheme {
}
interface TooltipProps {
/**
* Callback called when the mouse enters the Component.
*/
onMouseEnter?: Function;
/**
* Callback called when the mouse leaves the Component.
*/
onMouseLeave?: Function;
/**
* Classnames object defining the component style.
*/