Skip to content

Commit 0a1cbb0

Browse files
committed
πŸ“ doc: update README #81
1 parent c867952 commit 0a1cbb0

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

β€Žpackages/tabs/README.mdβ€Ž

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,30 @@
2121

2222
### Tabs
2323

24-
| Property | Allow Types | Description | Default |
25-
| ------------ | ---------------------- | -------------------------------------------------------------- | ----------- |
26-
| variant | `enclosed` `underline` | μ»΄ν¬λ„ŒνŠΈμ˜ μŠ€νƒ€μΌμ„ λ³€ν˜•ν•©λ‹ˆλ‹€. | `underline` |
27-
| defaultValue | `string` | νƒ­μ˜ `value`둜 초기 λ Œλ”λ§ μ‹œ 선택될 탭을 μ§€μ •ν•©λ‹ˆλ‹€. | `undefined` |
28-
| onChange | `() => void` | 탭이 변경될 λ•Œ λ°œμƒν•˜λŠ” 이벀트λ₯Ό μ§€μ •ν•©λ‹ˆλ‹€. | `undefined` |
29-
| size | `sm` `md` `lg` | μ»΄ν¬λ„ŒνŠΈμ˜ 크기λ₯Ό μ‘°μ •ν•©λ‹ˆλ‹€. | `md` |
30-
| lazy | `boolean` | νƒ­μ˜ λ‚΄μš©μ„ μ§€μ—° λ‘œλ”©ν•˜μ—¬ ν•„μš”ν•œ λ•Œλ§Œ λ Œλ”λ§ν•˜λ„λ‘ μ§€μ •ν•©λ‹ˆλ‹€. | `false` |
31-
| full | `boolean` | μ»΄ν¬λ„ŒνŠΈκ°€ λΆ€λͺ¨ μ»¨ν…Œμ΄λ„ˆμ˜ μ „μ²΄λ„ˆλΉ„λ₯Ό μ°¨μ§€ν•˜λ„λ‘ μ§€μ •ν•©λ‹ˆλ‹€. | `false` |
24+
| Property | Allow Types | Description | Default |
25+
| ------------ | ---------------------- | -------------------------------------------------------------- | -------------- |
26+
| variant | `enclosed` `underline` | μ»΄ν¬λ„ŒνŠΈμ˜ μŠ€νƒ€μΌμ„ λ³€ν˜•ν•©λ‹ˆλ‹€. | `underline` |
27+
| defaultValue | `string` | νƒ­μ˜ `value`둜 초기 λ Œλ”λ§ μ‹œ 선택될 탭을 μ§€μ •ν•©λ‹ˆλ‹€. | `undefined` |
28+
| onChange | `() => void` | 탭이 변경될 λ•Œ λ°œμƒν•˜λŠ” 이벀트λ₯Ό μ§€μ •ν•©λ‹ˆλ‹€. | `undefined` |
29+
| size | `sm` `md` `lg` | μ»΄ν¬λ„ŒνŠΈμ˜ 크기λ₯Ό μ‘°μ •ν•©λ‹ˆλ‹€. | `md` |
30+
| lazy | `boolean` | νƒ­μ˜ λ‚΄μš©μ„ μ§€μ—° λ‘œλ”©ν•˜μ—¬ ν•„μš”ν•œ λ•Œλ§Œ λ Œλ”λ§ν•˜λ„λ‘ μ§€μ •ν•©λ‹ˆλ‹€. | `false` |
31+
| full | `boolean` | μ»΄ν¬λ„ŒνŠΈκ°€ λΆ€λͺ¨ μ»¨ν…Œμ΄λ„ˆμ˜ μ „μ²΄λ„ˆλΉ„λ₯Ό μ°¨μ§€ν•˜λ„λ‘ μ§€μ •ν•©λ‹ˆλ‹€. | `false` |
32+
| accentColor | `ColorToken` | νƒ­μ˜ κ°•μ‘° 색상을 μ§€μ •ν•©λ‹ˆλ‹€. | `grey-darken4` |
33+
| baseColor | `ColorToken` | νƒ­μ˜ κΈ°λ³Έ 색상을 μ§€μ •ν•©λ‹ˆλ‹€. | `grey-base` |
3234

3335
### Tabs.List
3436

35-
| Property | Allow Types | Description | Default |
36-
| -------- | ----------- | ----------- | ------- |
37+
| Property | Allow Types | Description | Default |
38+
| -------- | ----------------- | ------------------------------------------ | ------- |
39+
| children | `React.ReactNode` | Tabs.Triggerλ₯Ό 감싸고 μžˆλŠ” λΆ€λͺ¨μš”μ†Œμž…λ‹ˆλ‹€. | |
3740

3841
### Tabs.Trigger
3942

40-
| Property | Allow Types | Description | Default |
41-
| -------- | ----------- | ------------------------------------------------------------------ | -------- |
42-
| value | `string` | 각 트리거의 값을 μ§€μ •ν•΄ 화면에 보여쀄 `Tabs.Content`와 μ—°κ²°ν•©λ‹ˆλ‹€. | `bottom` |
43-
| disabled | `boolean` | 탭을 λΉ„ν™œμ„±ν™”ν•©λ‹ˆλ‹€. | `false` |
43+
| Property | Allow Types | Description | Default |
44+
| -------- | ----------------- | ------------------------------------------------------------------ | -------- |
45+
| children | `React.ReactNode` | Tab의 컨텐츠λ₯Ό λ³€κ²½ν•˜κΈ° μœ„ν•œ 트리거 μš”μ†Œμž…λ‹ˆλ‹€. | |
46+
| value | `string` | 각 트리거의 값을 μ§€μ •ν•΄ 화면에 보여쀄 `Tabs.Content`와 μ—°κ²°ν•©λ‹ˆλ‹€. | `bottom` |
47+
| disabled | `boolean` | 탭을 λΉ„ν™œμ„±ν™”ν•©λ‹ˆλ‹€. | `false` |
4448

4549
### Tabs.Content
4650

0 commit comments

Comments
Β (0)