-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90b463b
commit 08312c6
Showing
27 changed files
with
470 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
component-docs/public/mdx/react/chip-tabs-variant-brand-weak.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
```tsx copy | ||
import * as React from "react"; | ||
import { ChipTabs, ChipTabTrigger, ChipTabTriggerList } from "seed-design/ui/chip-tabs"; | ||
|
||
export default function ChipTabsVariantBrandWeak() { | ||
const [value, setValue] = React.useState("1"); | ||
return ( | ||
<> | ||
<ChipTabs | ||
variant="brandWeak" | ||
defaultValue="1" | ||
value={value} | ||
onValueChange={(value) => setValue(value)} | ||
> | ||
<ChipTabTriggerList> | ||
<ChipTabTrigger value="1">라벨1</ChipTabTrigger> | ||
<ChipTabTrigger value="2">라벨2</ChipTabTrigger> | ||
<ChipTabTrigger value="3">라벨3</ChipTabTrigger> | ||
</ChipTabTriggerList> | ||
</ChipTabs> | ||
{value === "1" && <div>content 1</div>} | ||
{value === "2" && <div>content 2</div>} | ||
{value === "3" && <div>content 3</div>} | ||
</> | ||
); | ||
} | ||
|
||
``` |
28 changes: 28 additions & 0 deletions
28
component-docs/public/mdx/react/chip-tabs-variant-neutral-solid.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
```tsx copy | ||
import * as React from "react"; | ||
import { ChipTabs, ChipTabTrigger, ChipTabTriggerList } from "seed-design/ui/chip-tabs"; | ||
|
||
export default function ChipTabsVariantNeutralSolid() { | ||
const [value, setValue] = React.useState("1"); | ||
return ( | ||
<> | ||
<ChipTabs | ||
variant="neutralSolid" | ||
defaultValue="1" | ||
value={value} | ||
onValueChange={(value) => setValue(value)} | ||
> | ||
<ChipTabTriggerList> | ||
<ChipTabTrigger value="1">라벨1</ChipTabTrigger> | ||
<ChipTabTrigger value="2">라벨2</ChipTabTrigger> | ||
<ChipTabTrigger value="3">라벨3</ChipTabTrigger> | ||
</ChipTabTriggerList> | ||
</ChipTabs> | ||
{value === "1" && <div>content 1</div>} | ||
{value === "2" && <div>content 2</div>} | ||
{value === "3" && <div>content 3</div>} | ||
</> | ||
); | ||
} | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.