Skip to content

Commit

Permalink
chore: tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
timoheddes committed Aug 29, 2023
1 parent 6611319 commit 372a0fe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/libs/react-ui/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ export interface ISelectProps
React.HTMLAttributes<HTMLSelectElement>,
'aria-label' | 'as' | 'className'
> {
ariaLabel: string;
children: React.ReactNode;
icon?: (typeof SystemIcon)[keyof typeof SystemIcon];
disabled?: boolean;
value: string[] | string | number;
icon?: (typeof SystemIcon)[keyof typeof SystemIcon];
onChange: React.ChangeEventHandler<HTMLSelectElement>;
ref?: React.ForwardedRef<HTMLSelectElement>;
ariaLabel: string;
value: string[] | string | number;
}

export const Select: FC<ISelectProps> = forwardRef<
HTMLSelectElement,
ISelectProps
>(function Select(
{
ariaLabel,
children,
disabled = false,
// eslint-disable-next-line @typescript-eslint/naming-convention
icon: Icon,
disabled = false,
children,
ariaLabel,
...rest
},
ref,
Expand All @@ -51,9 +51,9 @@ export const Select: FC<ISelectProps> = forwardRef<
)}
<select
aria-label={ariaLabel}
ref={ref}
className={selectClass}
disabled={Boolean(disabled)}
ref={ref}
{...rest}
>
{children}
Expand Down

1 comment on commit 372a0fe

@vercel
Copy link

@vercel vercel bot commented on 372a0fe Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-ui – ./packages/libs/react-ui

react-ui-git-main-kadena-js.vercel.app
react-ui-delta.vercel.app
react-ui.kadena.io
react-ui-kadena-js.vercel.app

Please sign in to comment.