diff --git a/docs/components/button-group.md b/docs/components/button-group.md index b02b4108..bdfbde4a 100644 --- a/docs/components/button-group.md +++ b/docs/components/button-group.md @@ -1,6 +1,7 @@ # Vue Button Group - Flowbite @@ -57,3 +58,44 @@ import { FwbButtonGroup, FwbButton } from 'flowbite-vue' import { FwbButtonGroup, FwbButton } from 'flowbite-vue' ``` + +## Grouping buttons and dropdowns + +You can also mix buttons with dropdowns inside the button group. + +```vue + + + +``` \ No newline at end of file diff --git a/docs/components/buttonGroup/examples/FwbButtonGroupExampleDropdown.vue b/docs/components/buttonGroup/examples/FwbButtonGroupExampleDropdown.vue new file mode 100644 index 00000000..6f1ab7b3 --- /dev/null +++ b/docs/components/buttonGroup/examples/FwbButtonGroupExampleDropdown.vue @@ -0,0 +1,36 @@ + + + diff --git a/src/components/FwbButtonGroup/FwbButtonGroup.vue b/src/components/FwbButtonGroup/FwbButtonGroup.vue index 36a14857..daf027cb 100644 --- a/src/components/FwbButtonGroup/FwbButtonGroup.vue +++ b/src/components/FwbButtonGroup/FwbButtonGroup.vue @@ -9,14 +9,17 @@