createDateGalleryStore<T>

STORE CREATOR

Creates a store containing an DateGallery from @uiloos/core which is configured by the config parameter.

What the function does is create the DateGallery and register itself to the DateGallery for changes, when a change is detected it makes sure that the component using the store is re-rendered.

Since 1.6.0

Signature

createDateGalleryStore( ): Readable<DateGallery>

Parameters

config: DateGalleryConfig<T>

The initial configuration of the DateGallery.

Returns

A Readable<DateGallery<T>>