Skip to content

[Command] Add icon customization and fix inline styles #609

@ravisuhag

Description

@ravisuhag

Summary

Improvements to the Command component to fix typing and improve flexibility.

Improvements

2. No way to customize the search icon

CommandInput hardcodes MagnifyingGlassIcon. Should accept a custom icon or allow hiding it.

4. CommandShortcut doesn't accept ref as a prop

The only sub-component without ref prop support.

5. CommandDialog hardcodes inline styles

style={{ overflow: 'hidden', padding: '0' }} is hardcoded on Dialog.Content — should be CSS or overridable.

Moved to Cross-Cutting Issues

The following items have been moved to cross-cutting issues that address them across all components:

Metadata

Metadata

Assignees

No one assigned

    Labels

    componentIndividual component-level issuetriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions