# Customization

<table><thead><tr><th>Prop name</th><th width="184">Type</th><th>Example</th><th>Description</th></tr></thead><tbody><tr><td><code>type</code></td><td>"<code>resolve" | "reverse" | "combined"</code></td><td><code>"combined" (default)</code></td><td>defines the mode of operation of the resolver</td></tr><tr><td><code>autoFocus</code></td><td><code>boolean</code></td><td><code>true</code></td><td>focus the control when it mounts</td></tr><tr><td><code>theme</code></td><td><code>"dark" | "light"</code></td><td><code>"dark"</code></td><td>apply dark or light theme to the component</td></tr><tr><td><code>width</code></td><td><code>string</code></td><td><code>100px</code> or <code>100%</code></td><td>set component width</td></tr><tr><td><code>disabled</code></td><td><code>boolean</code></td><td><code>false</code></td><td>disable the control</td></tr><tr><td><code>onUpdate</code></td><td><code>(res: TypedResult | null) => void</code></td><td><p><code>(result) = > console.log(result)</code></p><p><code>{ domain: "nick.eth", from: "ens", type: "reverse" }</code></p></td><td>subscribe to update event. <a href="https://github.com/e2xlabs/redefined-name-resolver-js/blob/master/src/models/types.ts#L15">Account and ReverseAccount types are here.</a></td></tr><tr><td><code>hiddenAddressGap</code></td><td><code>{ leadingCharLimit: number; trailingCharLimit: number; }</code></td><td><code>{leadingCharLimit: 4, trailingCharLimit: 6}</code></td><td>specify the size of the address hidden. For example, for an address with the following parameters <code>hiddenAddressGap={{leadingCharLimit: 4, trailingCharLimit: 6}}</code> you can see following result: <code>0x6B ... D55d04</code></td></tr><tr><td><code>resolverOptions</code></td><td><code>object</code></td><td><pre class="language-json"><code class="lang-json">{
  redefined: {
      node: "https://evm.node.io/123abc",
  },
  unstoppable: {
      mainnetNode: "https://evm2.node.io/123abc",
      polygonMainnetNode: "https://evm-polygon.node.io/123abc",
  },
  ens: {
    node: "https://evm.node.io/123abc",
  },
}
</code></pre></td><td>change the resolver options for <a href="/pages/0VKLGBX3V9UBzQMbqWNs">Resolver engine</a> such as specify resolver services or set nodes</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://redefined.gitbook.io/connect/integerate-redefined/redefined-widget/customization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
