Initial import
This commit is contained in:
23
docs/components/search-command.md
Executable file
23
docs/components/search-command.md
Executable file
@@ -0,0 +1,23 @@
|
||||
# Search Command
|
||||
|
||||
## 목적
|
||||
|
||||
문서, API, 컴포넌트, 위젯을 키워드로 빠르게 찾고 바로 이동할 수 있는 통합 검색 모달입니다.
|
||||
|
||||
## 특징
|
||||
|
||||
- `AutoComplete` 기반 추천 드롭다운
|
||||
- 모달 오픈 시 입력창 자동 포커스
|
||||
- `Enter`, 항목 선택, 바깥 클릭, `Esc`로 닫기/이동
|
||||
- 모바일 상단 제스처와 연결 가능
|
||||
|
||||
## 주요 props
|
||||
|
||||
- `open`
|
||||
- `options`
|
||||
- `onClose`
|
||||
|
||||
## 샘플/연결
|
||||
|
||||
- `src/components/search/SearchCommandModal.tsx`
|
||||
- `src/layer/search/context/SearchLayerContext.tsx`
|
||||
Reference in New Issue
Block a user