( json: EncodedListElement )
| 51 | } |
| 52 | |
| 53 | function decodeList( |
| 54 | json: EncodedListElement |
| 55 | ): ReactElement<ListProps<RowComponentData>> { |
| 56 | return createElement(List<RowComponentData>, { |
| 57 | key: ++key, |
| 58 | ...json.props |
| 59 | }); |
| 60 | } |
| 61 | |
| 62 | function decodeRowComponent( |
| 63 | json: EncodedRowComponentElement |