From 7355d61f25fb0ccacf35ee76dfac64ed66cdef18 Mon Sep 17 00:00:00 2001 From: Hanbin Cho Date: Tue, 13 May 2025 10:30:32 +0900 Subject: [PATCH 1/3] Fix Devup UI docs - add instructions to Devup UI Docs pages. - Overview, Installation, Features, API. --- .../src/app/(detail)/docs/api/box/page.mdx | 13 +- .../src/app/(detail)/docs/api/button/page.mdx | 9 +- .../src/app/(detail)/docs/api/center/page.mdx | 18 +- .../src/app/(detail)/docs/api/css/page.mdx | 36 +- .../src/app/(detail)/docs/api/flex/page.mdx | 9 +- .../src/app/(detail)/docs/api/grid/page.mdx | 19 +- .../(detail)/docs/api/group-selector/page.mdx | 10 +- .../src/app/(detail)/docs/api/image/page.mdx | 9 +- .../src/app/(detail)/docs/api/input/page.mdx | 9 +- .../app/(detail)/docs/api/selector/page.mdx | 153 +- .../(detail)/docs/api/style-props/page.mdx | 2885 ++++++++++++----- .../src/app/(detail)/docs/api/text/page.mdx | 16 +- .../app/(detail)/docs/api/v-stack/page.mdx | 24 +- .../app/(detail)/docs/installation/page.mdx | 2 +- 14 files changed, 2309 insertions(+), 903 deletions(-) diff --git a/apps/landing/src/app/(detail)/docs/api/box/page.mdx b/apps/landing/src/app/(detail)/docs/api/box/page.mdx index 18cbc723..201952e7 100644 --- a/apps/landing/src/app/(detail)/docs/api/box/page.mdx +++ b/apps/landing/src/app/(detail)/docs/api/box/page.mdx @@ -1,5 +1,5 @@ export const metadata = { - title: "Box", + title: 'Box', } # Box @@ -8,23 +8,22 @@ The `Box` component is a layout primitive that can be used to create any kind of It is just a `div` with some styles. - ## How to use ```jsx // Before - + // After -
+
``` -You can use the as prop to change the element type. +You can use the `as` prop to change the element type. ```jsx // Before - + // After - + ``` diff --git a/apps/landing/src/app/(detail)/docs/api/button/page.mdx b/apps/landing/src/app/(detail)/docs/api/button/page.mdx index 47dde394..fc8079ee 100644 --- a/apps/landing/src/app/(detail)/docs/api/button/page.mdx +++ b/apps/landing/src/app/(detail)/docs/api/button/page.mdx @@ -1,16 +1,17 @@ export const metadata = { - title: "Button", + title: 'Button', } # Button -The Button component is a simple button component that can be used to trigger actions. +The `Button` component is a simple button component that can be used to trigger actions. +## How to use ```jsx // Before -