open-consul/ui/packages/consul-partitions/app/components/consul/partition/search-bar/README.mdx

31 lines
543 B
Plaintext

# Consul::Partition::SearchBar
Searchbar tailored for searching Partitions. Follows our more generic
'*::SearchBar' component interface.
```hbs preview-template
<Consul::Partition::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)
---