diff --git a/src/renderer/shared/components/Forms/Select/Select.js b/src/renderer/shared/components/Forms/Select/Select.js
index b8768c3b4..2d2044bd8 100644
--- a/src/renderer/shared/components/Forms/Select/Select.js
+++ b/src/renderer/shared/components/Forms/Select/Select.js
@@ -1,26 +1,34 @@
import React from 'react';
import classNames from 'classnames';
-import { string } from 'prop-types';
+import { string, func } from 'prop-types';
import styles from './Select.scss';
-export default class Select extends React.PureComponent {
+class Select extends React.PureComponent {
static propTypes = {
- className: string
+ className: string,
+ forwardedRef: func
};
static defaultProps = {
- className: null
+ className: null,
+ forwardedRef: null
};
render() {
- const { className, ...passDownProps } = this.props;
+ const { className, forwardedRef, ...passDownProps } = this.props;
return (
+
);
}
}
+
+export default React.forwardRef((props, ref) => {
+ return ;
+});