From 6f7eeab283a3f1728dd96006efb9ed3222f84f6e Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Tue, 4 Apr 2023 12:58:46 +0100 Subject: [PATCH] feat: loading button --- apps/pink/src/pages/elements/button.mdx | 33 ++ packages/ui/src/6-elements/_button.scss | 423 +++++++++++++----------- 2 files changed, 272 insertions(+), 184 deletions(-) diff --git a/apps/pink/src/pages/elements/button.mdx b/apps/pink/src/pages/elements/button.mdx index 1367a91a2f..2f6c64ef4b 100644 --- a/apps/pink/src/pages/elements/button.mdx +++ b/apps/pink/src/pages/elements/button.mdx @@ -58,6 +58,32 @@ There are two sizes of buttons; large and medium. Each size has its own purpose, +## Loading + +If you include the loader component inside a button, you can have a loading button. + +| class | | +| ------------ | -------------------------------------------------- | +| `is-loading` | Use to represent a loading state within the button | + + + + +