Selection
Command
cmdk 기반 ⌘K 팔레트. Input/List/Empty/Group/Item/Separator 합성.
예제
결과 없음
새 문서
설정
로그아웃
설치 / Import
import { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem } from '@baneung-pack/ui';import { Command } from '@baneung-pack/ui/command';서브패스 import는 트리쉐이킹 친화 — 사용하지 않는 다른 컴포넌트는 번들에 포함되지 않습니다.
API
| Property | Description | Type | Default |
|---|---|---|---|
label | 스크린리더용 라벨 | string | — |
filter | 커스텀 필터 함수 | (value, search) => number | — |
children | Command.Input / List / Empty / Group / Item / Separator | ReactNode | — |