Shpadoinkle-widgets-0.2.0.1: A collection of common reusable types and components.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Form.Input

Documentation

type Config m a = [(Text, Prop m (Input a))] Source #

mkInput :: Text -> (Text -> a) -> (a -> Text) -> Config m a -> Input a -> Html m (Input a) Source #

fractional :: Fractional n => Show n => Config m n -> Input n -> Html m (Input n) Source #

integral :: Integral n => Show n => Config m n -> Input n -> Html m (Input n) Source #

text :: forall m t. Coercible Text t => Config m t -> Input t -> Html m (Input t) Source #