Module

Halogen.Widgets.Field

Package
purescript-halogen-widgets
Repository
afcondon/purescript-halogen-widgets

A labelled form row: a label above a single control, with an optional hint beneath. Chrome-function tier — polymorphic in the caller's action i.

#FieldConfig Source

type FieldConfig = { hint :: Maybe String, label :: String }

#field Source

field :: forall w i. FieldConfig -> HTML w i -> HTML w i