diff --git a/packages/components-react/src/select/Select.tsx b/packages/components-react/src/select/Select.tsx index fccfd4f5..e1f906dd 100644 --- a/packages/components-react/src/select/Select.tsx +++ b/packages/components-react/src/select/Select.tsx @@ -6,14 +6,15 @@ import { } from '@utrecht/component-library-react/dist/css-module'; import './Select.css'; import clsx from 'clsx'; +import { forwardRef } from 'react'; export type LuxSelectProps = UtrechtSelectProps; export type LuxSelectOptionProps = UtrechtSelectOptionProps; -export const LuxSelect = (props: LuxSelectProps) => { +export const LuxSelect = forwardRef((props: LuxSelectProps) => { const { className, ...restProps } = props; return ; -}; +}); export const LuxSelectOption = SelectOption;