Skip to content

Commit

Permalink
kwargs -> params
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed May 30, 2023
1 parent cee6142 commit 7eec790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel/widgets/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ class IconMixin(Widget):

__abstract = True

def __init__(self, **kwargs) -> None:
def __init__(self, **params) -> None:
self._rename = dict(self._rename, **IconMixin._rename)
super().__init__(**kwargs)
super().__init__(**params)

def _process_param_change(self, params):
icon_size = params.pop('icon_size', self.icon_size)
Expand Down

0 comments on commit 7eec790

Please sign in to comment.