Skip to content

Commit

Permalink
fix: table filter group exmaple issue (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
lou-lee authored Aug 8, 2023
1 parent d6213bd commit d647b69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ title: TableFilterGroup

```jsx live
<TableFilterGroup
initialFilterDataKeys={['id', 'orderStatus']}
initialFilterDataKeys={['id']}
>
<TableFilterGroup.StringFilter
dataKey="id"
Expand All @@ -30,14 +30,6 @@ title: TableFilterGroup
operator: 'equals',
}}
/>
<TableFilterGroup.StringFilter
dataKey="location"
label="장소"
defaultValue={{
value: 'Seoul',
operator: 'contains',
}}
/>
<TableFilterGroup.DateFilter
dataKey="period"
label="수강 기간"
Expand All @@ -46,8 +38,8 @@ title: TableFilterGroup
dataKey="orderStatus"
label="주문 상태"
defaultValue={{
operator: 'equals',
value: ['completed'],
operator: 'contains',
value: ['completed', 'canceled'],
}}
options={[
{
Expand All @@ -64,10 +56,6 @@ title: TableFilterGroup
},
]}
/>
<TableFilterGroup.StringFilter
dataKey="class"
label="수강 중인 클래스"
/>
</TableFilterGroup>
```

Expand Down Expand Up @@ -166,7 +154,7 @@ import { TableFilterGroup } from '@vibrant-ui/components';
dataKey="orderStatus"
label="주문 상태"
defaultValue={{
operator: 'equals',
operator: 'contains',
value: ['completed', 'canceled'],
}}
options={[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"description": "The label for category @vibrant-ui/motion in sidebar mainSidebar"
},
"sidebar.mainSidebar.category.Core Components": {
"message": "코어 컴포넌트",
"message": "@vibrant-ui/core",
"description": "The label for category Core Components in sidebar mainSidebar"
},
"sidebar.mainSidebar.category.Migration Guide": {
Expand Down

1 comment on commit d647b69

@vercel
Copy link

@vercel vercel bot commented on d647b69 Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.