@empathyco/x-components
Version:
Empathy X Components
57 lines (27 loc) • 807 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [createRawFilters](./x-components.createrawfilters.md)
## createRawFilters() function
Helper method which creates the filter entity from the filter ir of the url.
**Signature:**
```typescript
export declare function createRawFilters(filterIds: Array<Filter['id']>): RawFilter[];
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
filterIds
</td><td>
Array<Filter\['id'\]>
</td><td>
List of filter ids from the url.
</td></tr>
</tbody></table>
**Returns:**
RawFilter\[\]
A list of filters.