Interface: SystemPropsMap<SS, K, D>
"react-urx/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
Name | Type | Default | Description |
---|---|---|---|
SS | AnySystemSpec | - | the type of the system. |
K | - | keyof SR\<SS> | - |
D | - | { [key:string]: K; } | - |
Hierarchy
- SystemPropsMap
Properties
events
• Optional
events: D
Defined in react-urx/index.ts:91
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/index.ts:86
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/index.ts:81
Specifies the optional component properties.
required
• Optional
required: D
Defined in react-urx/index.ts:77
Specifies the required component properties.