Skip to content

CommandList

Import

import { CommandList } from 'commandkey';

Use

<CommandList>{/* Here your `CommandOption` component */}</CommandList>

Props

  • children Inside it uses the CommandOption component.
  • className Edit the style of the list using a Tailwind CSS class.

Interface

export interface CommandListProps {
children: React.ReactNode;
className?: string | any;
}