react-uicomp
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -16,4 +16,5 @@ import * as React from "react"; | ||
rightIconClassName?: string; | ||
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; | ||
} | ||
export declare const RippleButton: React.ForwardRefExoticComponent<RippleButtonProps & React.RefAttributes<HTMLButtonElement>>; | ||
export {}; |
@@ -845,3 +845,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
rightIconClassName = props.rightIconClassName, | ||
rest = _objectWithoutPropertiesLoose(props, ["title", "style", "className", "textStyle", "textClassName", "rippleStyle", "rippleClassName", "leftIcon", "leftIconStyle", "leftIconClassName", "rightIcon", "rightIconStyle", "rightIconClassName"]); | ||
_onClick = props.onClick, | ||
rest = _objectWithoutPropertiesLoose(props, ["title", "style", "className", "textStyle", "textClassName", "rippleStyle", "rippleClassName", "leftIcon", "leftIconStyle", "leftIconClassName", "rightIcon", "rightIconStyle", "rightIconClassName", "onClick"]); | ||
@@ -873,2 +874,4 @@ var containerRef = React.useRef(); | ||
} | ||
!!_onClick && _onClick(e); | ||
} | ||
@@ -875,0 +878,0 @@ }, { |
@@ -843,3 +843,4 @@ import { useRef, useState, useCallback, createElement, useEffect, Component, forwardRef } from 'react'; | ||
rightIconClassName = props.rightIconClassName, | ||
rest = _objectWithoutPropertiesLoose(props, ["title", "style", "className", "textStyle", "textClassName", "rippleStyle", "rippleClassName", "leftIcon", "leftIconStyle", "leftIconClassName", "rightIcon", "rightIconStyle", "rightIconClassName"]); | ||
_onClick = props.onClick, | ||
rest = _objectWithoutPropertiesLoose(props, ["title", "style", "className", "textStyle", "textClassName", "rippleStyle", "rippleClassName", "leftIcon", "leftIconStyle", "leftIconClassName", "rightIcon", "rightIconStyle", "rightIconClassName", "onClick"]); | ||
@@ -871,2 +872,4 @@ var containerRef = useRef(); | ||
} | ||
!!_onClick && _onClick(e); | ||
} | ||
@@ -873,0 +876,0 @@ }, { |
{ | ||
"name": "react-uicomp", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "UI component library for react", | ||
@@ -5,0 +5,0 @@ "author": "dipeshrai123", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
164110
1805
0