From edbbf4ca08be49b63d494badc3ee17faa7b90a15 Mon Sep 17 00:00:00 2001 From: chronark Date: Thu, 28 Nov 2024 21:58:52 +0100 Subject: [PATCH] feat: button --- apps/engineering/content/design/components/button.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/engineering/content/design/components/button.mdx b/apps/engineering/content/design/components/button.mdx index 104ddb9c39..3ac83c6202 100644 --- a/apps/engineering/content/design/components/button.mdx +++ b/apps/engineering/content/design/components/button.mdx @@ -37,7 +37,7 @@ Icons can be added anywhere as a child of the button. In most scenarios you shou ## Keyboard -Providing a keyboard shortcut will override the `suffix` icon slot. +Providing a keyboard shortcut will add an icon on the right side of the button and fire the callback when the key is pressed. @@ -45,8 +45,7 @@ Providing a keyboard shortcut will override the `suffix` icon slot. ## Loading -Providing a loading stae will override the `prefix` icon slot. -When the user hits the specified key, the `onClick` handler will be called. +Providing a loading state will add a spinner on the left side of the button.