open-consul/ui/packages/consul-peerings/app/components/consul/peer/search-bar/README.mdx

35 lines
608 B
Plaintext

# 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)
---