mirror of https://github.com/acid-info/lsd.git
fix: append className prop to default class names in Autocomplete component
This commit is contained in:
parent
6c7c758b15
commit
2464cffc4b
|
@ -87,6 +87,7 @@ export const Autocomplete: React.FC<AutocompleteProps> & {
|
|||
return (
|
||||
<div
|
||||
ref={containerRef}
|
||||
{...props}
|
||||
className={clsx(
|
||||
props.className,
|
||||
commonProps.className,
|
||||
|
@ -98,7 +99,6 @@ export const Autocomplete: React.FC<AutocompleteProps> & {
|
|||
? autocompleteClasses.outlined
|
||||
: autocompleteClasses.outlinedBottom,
|
||||
)}
|
||||
{...props}
|
||||
>
|
||||
{label && (
|
||||
<Typography
|
||||
|
|
Loading…
Reference in New Issue