diff --git a/src/index.js b/src/index.js index 290cd35..7e2b6b9 100644 --- a/src/index.js +++ b/src/index.js @@ -3,8 +3,8 @@ import InputSpinner from "./InputSpinner"; import {getSkin} from "./Skins"; // Export -export default (props) => { +export default React.forwardRef((props, ref) => { const skinProps = getSkin(props.skin, props); const finalProps = {...props, ...skinProps}; - return ; -}; + return ; +});