From 9d111dcd912629ff4009388da9a3d60e00157b05 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 3 May 2025 09:19:56 -0700 Subject: [PATCH] docs(inline-loading): improve docs --- docs/src/pages/components/InlineLoading.svx | 23 ++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/components/InlineLoading.svx b/docs/src/pages/components/InlineLoading.svx index 1677b675..be82a72c 100644 --- a/docs/src/pages/components/InlineLoading.svx +++ b/docs/src/pages/components/InlineLoading.svx @@ -1,18 +1,37 @@ +--- +components: ["InlineLoading"] +--- + +The `InlineLoading` component provides a compact loading indicator that can be embedded within content. It's ideal for showing progress during inline operations like form submissions or data updates. + ## Default +Display a basic loading indicator with the default configuration. + ## With description +Add a descriptive text to provide context about the loading operation. + ## Status states +The component supports different status states to indicate progress: + + + active: Shows an animated loading indicator + inactive: Displays a static state + finished: Shows a success state + error: Displays an error state + + @@ -20,4 +39,6 @@ ## UX example +See how to integrate the loading indicator in a real-world scenario. + \ No newline at end of file