mirror of
https://github.com/acid-info/lsd.git
synced 2025-01-27 01:09:59 +00:00
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…
x
Reference in New Issue
Block a user