diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-12-08 15:13:13 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-12-08 15:13:13 +0300 |
commit | 7385e139b0c9efca7430458cee982e63e282f4ae (patch) | |
tree | 1bbdb0164e556b76eec72cb558c66974c8f95dd8 /docs/guide/components/status-icon | |
parent | b24a483eda5ca0b0ecdb4f0c61b90d76d0d8e1e0 (diff) | |
download | webui-vue-7385e139b0c9efca7430458cee982e63e282f4ae.tar.xz |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.
Change-Id: I2804ee3ab5ff6bcbf986b028db2fafec8e616779
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'docs/guide/components/status-icon')
-rw-r--r-- | docs/guide/components/status-icon/readme.md | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/docs/guide/components/status-icon/readme.md b/docs/guide/components/status-icon/readme.md index aef1f93c..e2041986 100644 --- a/docs/guide/components/status-icon/readme.md +++ b/docs/guide/components/status-icon/readme.md @@ -9,6 +9,7 @@ following statuses: - danger To use this component: + 1. Import it into the single file component (SFC) 2. Add the `<status-icon />` tag 3. Add the optional status prop and set the value to one of the statuses @@ -29,9 +30,7 @@ import StatusIcon from '@/components/Global/StatusIcon' ## Status icon with success status ```vue -<status-icon -:status="success" -/> +<status-icon :status="success" /> ``` ![StatusIcon success icon example](./success.png) @@ -39,9 +38,7 @@ import StatusIcon from '@/components/Global/StatusIcon' ## Status icon with info status ```vue -<status-icon -:status="info" -/> +<status-icon :status="info" /> ``` ![StatusIcon info icon example](./info.png) @@ -49,9 +46,7 @@ import StatusIcon from '@/components/Global/StatusIcon' ## Status icon with warning status ```vue -<status-icon -:status="warning" -/> +<status-icon :status="warning" /> ``` ![StatusIcon warning icon example](./warning.png) @@ -59,9 +54,7 @@ import StatusIcon from '@/components/Global/StatusIcon' ## Status icon with danger status ```vue -<status-icon -:status="danger" -/> +<status-icon :status="danger" /> ``` ![StatusIcon danger icon example](./danger.png) |