v7.1.0
v7.1.0 (Minor Release)
Status: Released
This is a new minor release of the @alextheman/components package. It introduces new features and other backwards-compatible changes that should require little to no refactoring. Please read the description of changes below.
Description of Changes
- Resolve the
componentprop ofDropdownMenuTriggerproperly.- Previously if another button component was passed in, it would've passed it as the
componentprop of Button, therefore losing access to the benefits of the provided button. - For example, if IconButton provided, it still renders the icon in the regular Button.
- This changes that so that we instead resolve what the actual rendered button component will be and render that directly.
- If no
componentprop is provided, we use the Material UI Button, otherwise we use whatever was passed in.
- Previously if another button component was passed in, it would've passed it as the