We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3752e39 commit b95cd8cCopy full SHA for b95cd8c
src/index.js
@@ -3,8 +3,8 @@ import InputSpinner from "./InputSpinner";
3
import {getSkin} from "./Skins";
4
5
// Export
6
-export default (props) => {
+export default React.forwardRef((props, ref) => {
7
const skinProps = getSkin(props.skin, props);
8
const finalProps = {...props, ...skinProps};
9
- return <InputSpinner {...finalProps} />;
10
-};
+ return <InputSpinner {...finalProps} ref={ref} />;
+});
0 commit comments