🎨 CommandInput

Search text field.

1. Import:

import { CommandInput } from "superkey";

2. Use:

<CommandInput
  onChange={(e) => {
    console.log(e);
  }}
/>

3. Props:

-PropDescriptionRequired
⚙️onChangeInside it uses the input, list and options components.Required
⚙️searchIconAdds an icon to the search field.Optional
⚙️placeholderEdit the default placeholderOptional
🎨classNameEdit the styles around the input.Optional
🎨inputClassNameEdit the default styles of the field.Optional