Skip to content

Commit

Permalink
docs: input/card/select improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxtuneLee committed Mar 29, 2024
1 parent 22a42a5 commit 1f0b1df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/docs/components/universal/card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Card component displays content within a styled card container.
padding={16}
gap={8}
width={400}
titleImageUrl="/aurora-poster.png"
titleImageUrl="https://sastimg.mxte.cc/image/6Ht1"
>
<div slot="header"><span style={{fontWeight: 'bold', fontSize: '18px'}}>Aurora UI · Universal Component</span></div>
<div slot="content">🌏 This is the universal version of SAST UI, which is based on Web Components. It is designed to be used in any framework, such as React, Vue, Angular, and even vanilla JavaScript.</div>
Expand Down Expand Up @@ -131,7 +131,7 @@ export default function Example() {
padding={16}
gap={8}
width={400}
titleImageUrl="/aurora-poster.png"
titleImageUrl="https://sastimg.mxte.cc/image/6Ht1"
>
<div slot="header">Header Content</div>
<div slot="content">Main Content</div>
Expand Down
1 change: 0 additions & 1 deletion docs/docs/components/universal/input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Input component allows users to input text or passwords.
| `fontsize` | The font size of the input. | `number` | `16` |
| `isFillFather` | If `true`, the input will fill its container.| `boolean` | `false` |
| `value` | The value of the input. | `string` | |
| `defaultValue` | The default value of the input. | `string` | |
| `isBorder` | If `true`, the input will have a border. | `boolean` | `true` |

## Example in HTML
Expand Down
1 change: 0 additions & 1 deletion docs/docs/components/universal/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ The Select component provides a dropdown menu with selectable options.
| `optionsList` | List of options for the select menu. | `Array<OptionProps>` | |
| `title` | Title of the select. | `string` | |
| `disabled` | If `true`, the select will be disabled. | `boolean` | `false` |
| `defaultSelectKey` | The default selected option key. | `number` | `0` |
| `selectKey` | The currently selected option key. | `number` | `0` |
| `isBorder` | If `true`, the select will have a border. | `boolean` | `true` |
| `width` | The width of the select. | `number` | `200` |
Expand Down

0 comments on commit 1f0b1df

Please sign in to comment.