Skip to content

Commit

Permalink
feat: hideToggleButton
Browse files Browse the repository at this point in the history
  • Loading branch information
it-nalon committed Apr 22, 2021
1 parent 0285c59 commit 89220c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export const CUIAutoComplete = <T extends Item>(
})
)}
/>
{hideToggleButton && (
{!hideToggleButton && (
<Button
{...toggleButtonStyleProps}
{...getToggleButtonProps()}
Expand Down

0 comments on commit 89220c1

Please sign in to comment.