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

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Form.Input

Documentation

type Config m a = Props m (Input a) Source #

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

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

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

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