Skip to content

Add CommandBox Component #117

@aswinshenoy

Description

@aswinshenoy

Inspiration - https://ui.shadcn.com/docs/components/command

image

Props

type CommandBoxGroupType:
      label?: string
      options: {
         label: string
         icon?: IconType
         link?: string
         onClick?: () => void
      }[]

type CommandBoxType:
  id?: string
  className?: string
  groupClassName?: string
  itemClassName?: string
  searchBoxClassName?: string
  labels?: {
     searchPlaceholder?: string
     noResultsFound?: string
  }
  isLoading?: boolean
  isAsync?: boolean
  onFetch?: (keyword: string) => CommandBoxGroupType[]
  groups?: CommandBoxGroupType[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions