Skip to content

Commit

Permalink
fixed build 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaap-Hein Wester committed Nov 27, 2024
1 parent c0474ac commit 78490d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/components-react/src/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <UtrechtSelect className={clsx(className, 'lux-select')} {...restProps} />;
};
});

export const LuxSelectOption = SelectOption;

Expand Down

0 comments on commit 78490d6

Please sign in to comment.