Initial import
This commit is contained in:
34
docs/components/check-combo.md
Executable file
34
docs/components/check-combo.md
Executable file
@@ -0,0 +1,34 @@
|
||||
# Check Combo Input
|
||||
|
||||
## 목적
|
||||
|
||||
`code/value` 데이터를 받아 여러 항목을 체크박스 형태로 선택하고, 실제 값은 `code[]`로 유지하는 다중 선택 combo 입력 컴포넌트입니다.
|
||||
|
||||
## 폴더 구조
|
||||
|
||||
```text
|
||||
src/components/inputs/checkCombo
|
||||
├─ CheckComboUI.tsx
|
||||
├─ index.ts
|
||||
├─ plugins/
|
||||
├─ samples/
|
||||
└─ types/
|
||||
```
|
||||
|
||||
## 주요 props
|
||||
|
||||
- `data: { code, value }[]`
|
||||
- `value`, `defaultValue`
|
||||
- `onChange(codes, items)`
|
||||
- `showSearch`
|
||||
- `allowClear`
|
||||
- `placeholder`
|
||||
|
||||
## plugins
|
||||
|
||||
- `createCheckComboPlaceholderPlugin`
|
||||
- `createCheckComboSortPlugin`
|
||||
|
||||
## 샘플
|
||||
|
||||
- 대표 샘플: `src/components/inputs/checkCombo/samples/Sample.tsx`
|
||||
Reference in New Issue
Block a user