@yantrix/react v0.0.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) => Selection;
Parameters
• snapshot: Snapshot
Returns
Selection