diff --git a/src/views/button/ButtonDoc.vue b/src/views/button/ButtonDoc.vue index cfb048208..9a9185fbe 100755 --- a/src/views/button/ButtonDoc.vue +++ b/src/views/button/ButtonDoc.vue @@ -107,6 +107,14 @@ import Button from 'primevue/button'; <Button label="Large" icon="pi pi-check" class="p-button-lg" /> +
Slot
+

Custom content can be placed inside the button via the default slot. Note that when slot is used, label, icon and badge properties are not included.

+ +<Button> + Custom Content +</Button> + +
Properties

Any property such as style and class are passed to the underlying button element. Following are the additional properties to configure the component.