consul/ui/packages/consul-nspaces/app/components/consul/nspace/search-bar
..
README.mdx
index.hbs

README.mdx

# Consul::Nspace::SearchBar

Searchbar tailored for searching namespaces. Follows our more generic
'*::SearchBar' component interface.

```hbs preview-template
  <Consul::Nspace::SearchBar
    @search={{this.search}}
    @onsearch={{fn (mut this.search) value="target.value"}}

    @sort={{hash 
      value='Name:asc'
      change=(noop)
    }}

    @filter={{hash
      searchproperty=(hash
        value=(array)
        change=(noop)
        default=(array)
      )
    }}
  />
```

## See

- [Template Source Code](./index.hbs)

---