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