You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how the underlying Dropdown component handles the addonTypeprop.
I think the easiest would be to add an addonType prop to Dropdown. I don't think we need to replicate InputGroupButtonDropdown, since it just wraps Dropdown and we would need to copy all the prop types.
Happy to implement this if we think it's the right thing to do. If we do this, we should amend the documentation on input groups (PR #51 ) to document dropdowns.
The text was updated successfully, but these errors were encountered:
Nice, I think this would be a good addition. I also favour exposing extra options in the api of our DropdownMenu component over adding a new component. Very happy for you to have a go at implementing this.
Reactstrap supports dropdowns in input groups (see docs, for instance) via the
InputGroupButtonDropdown
component.This just passes an
addonType
prop to aDropdown
component. See:InputGroupButtonDropdown
sourceaddonType
prop.I think the easiest would be to add an
addonType
prop toDropdown
. I don't think we need to replicateInputGroupButtonDropdown
, since it just wrapsDropdown
and we would need to copy all the prop types.Happy to implement this if we think it's the right thing to do. If we do this, we should amend the documentation on input groups (PR #51 ) to document dropdowns.
The text was updated successfully, but these errors were encountered: