ChipSelect.logic
import { frame, merge, pin, narrow, move, wants, near, PAGE } from '@hanzo/ui/product'
No examples yet.
Types
export interface ChipItem {id: stringlabel: string/** A quieter second word on the row — `private`, a count. */hint?: stringdisabled?: boolean}
export interface ChipPage<T> {items: T[]next?: string | null}
export type ChipLoad<T> = (q: string, after?: string | null) => Promise<ChipPage<T>>
export type Move = 'ArrowDown' | 'ArrowUp' | 'Home' | 'End' | 'PageDown' | 'PageUp'
Exports
framemergepinnarrowmovewantsnearPAGEtype ChipItemtype ChipLoadtype ChipPagetype Move