open-consul/ui/packages/consul-peerings/app/components/consul/peer/search-bar/README.mdx
2022-07-14 11:22:45 +01:00

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