Properties for a given component should be a single list, just like in elm-html. Currently only styles can be set for components, and event handler is a separate parameter. Ideally, the component API should be very familiar-looking:
text
[ style stylesList
, onPressHandler
, numberOfLines 1
]
"Press me"
Properties for a given component should be a single list, just like in elm-html. Currently only styles can be set for components, and event handler is a separate parameter. Ideally, the component API should be very familiar-looking: