Fix types
This commit is contained in:
parent
92a50fe51d
commit
6eb77b7c2f
2 changed files with 9 additions and 3 deletions
|
|
@ -121,8 +121,10 @@ export const Button = forwardRef<HTMLButtonElement, Props>(
|
|||
{...mergeProps(rest, filteredButtonProps)}
|
||||
ref={buttonRef}
|
||||
>
|
||||
{children}
|
||||
{variant === "dropdown" && <ArrowDownIcon />}
|
||||
<>
|
||||
{children}
|
||||
{variant === "dropdown" && <ArrowDownIcon />}
|
||||
</>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue