Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Update: Added back buttonRef Prop
Browse files Browse the repository at this point in the history
  • Loading branch information
MadanKumarGovindaswamy committed Jul 7, 2023
1 parent 5c14beb commit 9e77a10
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ exports[`Dropdown Button correctly applies the theme context className 1`] = `
variant="neutral"
>
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down Expand Up @@ -112,6 +113,7 @@ exports[`Dropdown Button correctly applies the theme context className 1`] = `
/>
</button>
<Dropdown
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isOpen={false}
refCallback={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ exports[`Dropdown Button correctly applies the theme context className 1`] = `
variant="neutral"
>
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down Expand Up @@ -121,6 +122,7 @@ exports[`Dropdown Button correctly applies the theme context className 1`] = `
/>
</button>
<Dropdown
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isOpen={false}
refCallback={[Function]}
Expand Down Expand Up @@ -168,6 +170,7 @@ exports[`Dropdown Button correctly applies the theme context className 1`] = `

exports[`Dropdown Button should render a block split type 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={true}
isCompact={false}
Expand Down Expand Up @@ -215,6 +218,7 @@ exports[`Dropdown Button should render a block split type 1`] = `

exports[`Dropdown Button should render a compact split type 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={true}
Expand Down Expand Up @@ -262,6 +266,7 @@ exports[`Dropdown Button should render a compact split type 1`] = `

exports[`Dropdown Button should render a default split type 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down Expand Up @@ -309,6 +314,7 @@ exports[`Dropdown Button should render a default split type 1`] = `

exports[`Dropdown Button should render a disabled split type 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
disabled={true}
getSelectedOptionText={[Function]}
isBlock={false}
Expand Down Expand Up @@ -357,6 +363,7 @@ exports[`Dropdown Button should render a disabled split type 1`] = `

exports[`Dropdown Button should render a split type with custom attributes 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down Expand Up @@ -406,6 +413,7 @@ exports[`Dropdown Button should render a split type with custom attributes 1`] =

exports[`Dropdown Button should render a split type with multiple children 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down Expand Up @@ -463,6 +471,7 @@ exports[`Dropdown Button should render a split type with multiple children 1`] =

exports[`Dropdown Button should render an open split type 1`] = `
<DropdownButtonBase
buttonRef={[Function]}
getSelectedOptionText={[Function]}
isBlock={false}
isCompact={false}
Expand Down

0 comments on commit 9e77a10

Please sign in to comment.