// Code generated by reactGen. DO NOT EDIT. package react // TableProps are the props for a component type TableProps struct { ClassName string DangerouslySetInnerHTML *DangerousInnerHTML ID string Key string OnChange OnClick Role string Style *CSS } func (t *TableProps) assign(v *_TableProps) { v.ClassName = t.ClassName v.DangerouslySetInnerHTML = t.DangerouslySetInnerHTML if t.ID != "" { v.ID = t.ID } if t.Key != "" { v.Key = t.Key } if t.OnChange != nil { v.o.Set("onChange", t.OnChange.OnChange) } if t.OnClick != nil { v.o.Set("onClick", t.OnClick.OnClick) } v.Role = t.Role // TODO: until we have a resolution on // https://github.com/gopherjs/gopherjs/issues/236 v.Style = t.Style.hack() }