diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts index 2fcdf0f9f..af1f82ba8 100755 --- a/components/lib/splitbutton/SplitButton.d.ts +++ b/components/lib/splitbutton/SplitButton.d.ts @@ -181,11 +181,21 @@ export interface SplitButtonSlots { /** * Custom menu button icon template. */ - icon(): VNode[]; + icon(scope: { + /** + * Style class of the icon. + */ + class: string; + }): VNode[]; /** * Custom menu button icon template. */ - menubuttonicon(): VNode[]; + menubuttonicon(scope: { + /** + * Style class of the icon. + */ + class: string; + }): VNode[]; } /** diff --git a/components/lib/splitbutton/SplitButton.vue b/components/lib/splitbutton/SplitButton.vue index c5c48c065..d53e79eb9 100755 --- a/components/lib/splitbutton/SplitButton.vue +++ b/components/lib/splitbutton/SplitButton.vue @@ -3,7 +3,7 @@ @@ -24,7 +24,7 @@ v-bind="menuButtonProps" >