CommandInput
Import
import { CommandInput } from 'commandkey';
Use
<CommandInput placeholder="Search" onChange={(e) => { console.log(e); }}/>
Props
onChange
Execute a function after the input value changes.placeholder
Edit the default placeholder.className
Edit the styles of the input using a Tailwind CSS class.
Interface
export interface CommandInputProps { onChange?: (...args: any) => void; placeholder?: string; className?: string | any; props?: any;}