@arisechurch/design
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -1,2 +0,2 @@ | ||
import { FC } from "react"; | ||
import { FC, MouseEvent } from "react"; | ||
import { ColorHelper } from "csx"; | ||
@@ -3,0 +3,0 @@ export interface IButtonProps { |
@@ -26,6 +26,2 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
// onClick | ||
if (!disabled) { | ||
props = __assign(__assign({}, props), { onClick: onClick }); | ||
} | ||
// Sizes | ||
@@ -44,4 +40,4 @@ var fontSize = 1; | ||
}); | ||
return (React.createElement(Ripple, { className: classNames.ripple, disabled: disabled }, | ||
return (React.createElement(Ripple, { className: classNames.ripple, disabled: disabled, onClick: onClick }, | ||
React.createElement("button", __assign({ className: classNames.root }, props), children))); | ||
}; |
{ | ||
"name": "@arisechurch/design", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
706220
212
5970