Interface: SystemPropsMap<SS, K, D>#

"react-urx/src/index".SystemPropsMap

Describes the mapping between the system streams and the component properties. Each property uses the keys as the names of the properties and the values as the corresponding stream names.

Type parameters#

NameTypeDefaultDescription
SSAnySystemSpec-the type of the system.
K-keyof SR<SS\>-
D-{ [key:string]: K; }-

Hierarchy#

  • SystemPropsMap

Properties#

events#

• Optional events: D

Defined in react-urx/src/index.ts:117

Specifies the component "event" properties, if any. Event properties accept callback functions which get executed when the stream emits a new value.


methods#

• Optional methods: D

Defined in react-urx/src/index.ts:112

Specifies the component methods, if any. Streams are converted to methods with a single argument. When invoked, the method publishes the value of the argument to the specified stream.


optional#

• Optional optional: D

Defined in react-urx/src/index.ts:107

Specifies the optional component properties.


required#

• Optional required: D

Defined in react-urx/src/index.ts:103

Specifies the required component properties.