diff --git a/src/components/dropdown/dropdown.js b/src/components/dropdown/dropdown.js index 9cf93e030ad..b02716f799f 100644 --- a/src/components/dropdown/dropdown.js +++ b/src/components/dropdown/dropdown.js @@ -112,11 +112,7 @@ export const BDropdown = /*#__PURE__*/ Vue.extend({ }, render(h) { let split = h() - const buttonContent = - this.normalizeSlot('button-content') || - this.normalizeSlot('text') || - this.html || - stripTags(this.text) + const buttonContent = this.normalizeSlot('button-content') || this.html || stripTags(this.text) if (this.split) { const btnProps = { disabled: this.disabled, diff --git a/src/components/dropdown/package.json b/src/components/dropdown/package.json index ddba45b7eac..b0d127cec4f 100644 --- a/src/components/dropdown/package.json +++ b/src/components/dropdown/package.json @@ -52,10 +52,6 @@ { "name": "button-content", "description": "Can be used to implement custom text with icons and more styling." - }, - { - "name": "text", - "description": "Deprecated. please use 'button-content' slot instead." } ] },