open-consul/ui/packages/consul-peerings/app/components/consul/peer/search-bar
Ronald 6bcb98ea71
Add UI copyright headers files (#16614)
* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
2023-03-14 09:18:55 -04:00
..
README.mdx ui: Move peers to a subapplication (#13725) 2022-07-14 11:22:45 +01:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.scss Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00

README.mdx

# Consul::Peer::SearchBar

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

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

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

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

## See

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

---