> ## Documentation Index
> Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomerTagsEditor

> CustomerTagsEditor component

Inline tag editing for customer categorization.

**Features:**

* Display existing tags as removable chips
* "+" button to add new tags
* Enter to confirm, Escape to cancel
* Auto-saves on add/remove

Designed for CSRs to quickly categorize customers without opening a separate dialog.

## Props

<ResponseField name="tags" type="string[]" required={true}>
  tags
</ResponseField>

<ResponseField name="onUpdate" type="(tags: string[]) => void" required={true}>
  onUpdate
</ResponseField>

## Usage

```tsx theme={null}
import { CustomerTagsEditor } from '@/components/CustomerTagsEditor';

export default function Example() {
  return (
    <CustomerTagsEditor tags={tags} onUpdate={onUpdate} />
  );
}
```
