@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 514 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [TimeSelector](./x-components.timeselector.md)
## TimeSelector type
Function type which receives the whole store as parameter and retrieve the time from there.
**Signature:**
```typescript
export type TimeSelector = (storeModule: Store<RootXStoreState>) => number;
```
**References:** [RootXStoreState](./x-components.rootxstorestate.md)