Skip to content

@yantrix/react v0.5.2 • Docs


Yantrix API / @yantrix/react / TUseFSMOptions

Type Alias: TUseFSMOptions<Snapshot, Selection> ​

ts
type TUseFSMOptions<Snapshot, Selection>: object;

Type Parameters ​

• Snapshot

• Selection

Type declaration ​

isEqual()? ​

ts
optional isEqual: (a, b) => boolean;

Parameters ​

• a: Selection

• b: Selection

Returns ​

boolean

selector() ​

ts
selector: (snapshot, statics) => Selection;

Parameters ​

• snapshot: Snapshot

• statics: TStaticMethods

Returns ​

Selection