Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: 컴포넌트 사용 예시 수정 #113

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/BaseButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { BaseButton } from 'ggf-ui';
```

```tsx
<BaseButton onClick={onClick} variant='fill' size='medium' color='yellow'>
<BaseButton onClick={onClick} variant='ghost' size='small' color='red'>
Click Me
</BaseButton>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/CardButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { CardButton } from 'ggf-ui';
```

```tsx
<CardButton onClick={onClick} color='yellow'>
<CardButton onClick={onClick} color='red'>
View Details
</CardButton>
```
Expand Down
4 changes: 0 additions & 4 deletions docs/EmptyCard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ The Empty Card component is utilized to display an empty card, typically used wh
import { EmptyCard } from 'ggf-ui';
```

```tsx
<EmptyCard text='No items found' />
```

```tsx
<EmptyCard text='No items found' isSmall={true} />
```
Expand Down
4 changes: 1 addition & 3 deletions docs/ModalButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ import { ModalButton } from 'ggf-ui';
```

```tsx
<ModalButton variant='success' onClick={onClick}>
Confirm
</ModalButton>
<ModalButton onClick={onClick}>Confirm</ModalButton>
```

```tsx
Expand Down
2 changes: 1 addition & 1 deletion docs/OperationButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { OperationButton } from 'ggf-ui';
```

```tsx
<OperationButton onClick={onClick} type='add' />
<OperationButton onClick={onClick} type='remove' />
```

## Storybook
Expand Down
2 changes: 1 addition & 1 deletion docs/SliderButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ import { SliderButton } from 'ggf-ui';
```

```tsx
<SliderButton onClick={onClick} type='left' />
<SliderButton onClick={onClick} type='right' />
```