This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from 'react' | |
| import * as ReactDOM from 'react-dom' | |
| const Column: React.SFC<{data: any}> = (_data) => { | |
| return ( | |
| <td><pre> {'Hi '+ _data.data} </pre></td> | |
| ); | |
| } | |
| const Row: React.SFC<{colums:number[]}> = (colums) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local encoding = require "encoding" | |
| --This gist contains some simple usage of the | |
| --encoding library. Specificaly this gist | |
| --focuses on typed encoding. | |
| --We start by defining a simple type | |
| local types = encoding.types | |
| local itemType = types.tuple{ | |
| { field = "id", types.varint }, |