From a9de9148bab7a1b76cfc76f9891dd6a4b3adeb2a Mon Sep 17 00:00:00 2001 From: SurenNeware Date: Wed, 24 Feb 2021 16:43:49 +0530 Subject: Update button documentation for icon only button Signed-off-by: Suren Neware Change-Id: I93aa1082880985fef316424a9cf400a9d0a8c2b3 --- docs/guide/components/buttons/index.md | 39 +++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 10 deletions(-) (limited to 'docs/guide/components/buttons') diff --git a/docs/guide/components/buttons/index.md b/docs/guide/components/buttons/index.md index ca78201b..da569a15 100644 --- a/docs/guide/components/buttons/index.md +++ b/docs/guide/components/buttons/index.md @@ -4,15 +4,13 @@ Buttons are used to perform an action. The main buttons in the application are t [Learn more about Bootstrap-vue buttons](https://bootstrap-vue.js.org/docs/components/button) +### Icon only buttons +Add `btn-icon-only` class to the button and add `title` attribute to get helper text on hover over the button. + ### Enabled buttons ![Button examples](./button.png) -### Disabled buttons - -![Disabled button examples](./button-disabled.png) - - ```vue // Enabled Buttons Primary @@ -20,11 +18,6 @@ Buttons are used to perform an action. The main buttons in the application are t Primary with icon - - - Delete - - Secondary Danger Link Button @@ -32,4 +25,30 @@ Buttons are used to perform an action. The main buttons in the application are t Link Button + + + +``` + +### Disabled buttons + +![Disabled button examples](./button-disabled.png) + +```vue +// Disabled Buttons +Primary + + + Primary with icon + +Secondary +Danger +Link Button + + + Link Button + + + + ``` \ No newline at end of file -- cgit v1.2.3