armstrong-react
Advanced tools
Comparing version
@@ -12,2 +12,3 @@ /// <reference types="react" /> | ||
rightIcon?: string; | ||
componentDidMount?: () => void; | ||
}; | ||
@@ -20,3 +21,4 @@ export declare class TextInput extends React.Component<ITextInputProps, {}> { | ||
select(): void; | ||
componentDidMount(): void; | ||
render(): JSX.Element; | ||
} |
@@ -29,2 +29,7 @@ "use strict"; | ||
}; | ||
TextInput.prototype.componentDidMount = function () { | ||
if (this.props.componentDidMount) { | ||
this.props.componentDidMount(); | ||
} | ||
}; | ||
TextInput.prototype.render = function () { | ||
@@ -31,0 +36,0 @@ var _this = this; |
{ | ||
"name": "armstrong-react", | ||
"version": "2.5.12", | ||
"version": "2.5.13", | ||
"description": "Rocketmakers Armstrong library of React components", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
760855
0.05%15019
0.09%