@empathyco/x-components
Version:
Empathy X Components
23 lines (12 loc) • 893 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FeatureLocation](./x-components.featurelocation.md)
## FeatureLocation type
Indicates where the feature is placed.
**Signature:**
```typescript
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts' | 'add2cart' | 'overview';
```
## Example 1
A `next_query` [QueryFeature](./x-components.queryfeature.md) may be located in the `predictive_layer`<!-- -->, or in the `results` grid.
## Example 2
A `recommendations` [ResultFeature](./x-components.resultfeature.md) may be located in `no_results`<!-- -->, `no_query`<!-- -->, or `predictive_layer`<!-- -->.