Skip to content

Commit 95412a9

Browse files
committed
ManageDropdownButton to make pullRight a prop, so it can be set to false
1 parent e4d2ea9 commit 95412a9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/components/src/internal/components/buttons/ManageDropdownButton.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ interface Props extends PropsWithChildren {
2121
children: ReactNode;
2222
disabled?: boolean;
2323
showIcon?: boolean;
24+
pullRight?: boolean;
2425
}
2526

26-
export const ManageDropdownButton: FC<Props> = ({ children, disabled, showIcon = true }) => {
27+
export const ManageDropdownButton: FC<Props> = ({ children, disabled, showIcon = true, pullRight = true }) => {
2728
const buttonLabel: ReactNode = useMemo(
2829
() => (
2930
<span>
@@ -40,7 +41,7 @@ export const ManageDropdownButton: FC<Props> = ({ children, disabled, showIcon =
4041
buttonClassName="manage-dropdown"
4142
title={buttonLabel}
4243
noCaret
43-
pullRight
44+
pullRight={pullRight}
4445
disabled={disabled}
4546
>
4647
{children}

0 commit comments

Comments
 (0)