From f9a8d1db5c222f1c22fdd28a98a9eeff63f3fee8 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 2 Jul 2023 02:21:31 -0700 Subject: [PATCH] Passes along the autoFocus prop to Select This passes along the autoFocus prop to the root Select component, and exposes it in SelectTableField --- components/common/Select/index.tsx | 2 +- components/common/SelectTableField/index.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/common/Select/index.tsx b/components/common/Select/index.tsx index faa178c5..aefc5ade 100644 --- a/components/common/Select/index.tsx +++ b/components/common/Select/index.tsx @@ -5,7 +5,6 @@ import classNames from 'classnames' import Overlay from '~components/common/Overlay' import ChevronIcon from '~public/icons/Chevron.svg' - import styles from './index.module.scss' // Props @@ -96,6 +95,7 @@ const Select = React.forwardRef(function select( onOpenChange={props.onOpenChange} > { label={props.label} >