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