Module

HeroUI.Input

Package
purescript-yoga-heroui
Repository
rowtype-yoga/purescript-yoga-heroui

#InputProps Source

type InputProps :: Row Type -> Row Typetype InputProps r = (baseRef :: Foreign, className :: String, classNames :: Foreign, color :: Color, defaultValue :: String, description :: JSX, disableAnimation :: Boolean, endContent :: JSX, errorMessage :: JSX, fullWidth :: Boolean, isClearable :: Boolean, isDisabled :: Boolean, isInvalid :: Boolean, isReadOnly :: Boolean, isRequired :: Boolean, label :: JSX, labelPlacement :: LabelPlacement, maxLength :: Int, minLength :: Int, name :: String, onChange :: EffectFn1 Foreign Unit, onClear :: EffectFn1 Foreign Unit, onValueChange :: EffectFn1 String Unit, pattern :: String, placeholder :: String, radius :: Radius, size :: Size, startContent :: JSX, type :: String, validate :: Foreign, validationBehavior :: ValidationBehavior, value :: String, variant :: Variant | r)

#input Source

input :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (InputProps ())) => Record givenProps -> kids -> JSX

#TextareaProps Source

type TextareaProps :: Row Type -> Row Typetype TextareaProps r = (cacheMeasurements :: Boolean, className :: String, classNames :: Foreign, color :: Color, defaultValue :: String, description :: JSX, disableAnimation :: Boolean, disableAutosize :: Boolean, endContent :: JSX, errorMessage :: JSX, fullWidth :: Boolean, isClearable :: Boolean, isDisabled :: Boolean, isInvalid :: Boolean, isReadOnly :: Boolean, isRequired :: Boolean, label :: JSX, labelPlacement :: LabelPlacement, maxRows :: Int, minRows :: Int, name :: String, onChange :: EffectFn1 Foreign Unit, onClear :: EffectFn1 Foreign Unit, onHeightChange :: EffectFn1 Foreign Unit, onValueChange :: EffectFn1 String Unit, placeholder :: String, radius :: Radius, size :: Size, startContent :: JSX, validate :: Foreign, validationBehavior :: ValidationBehavior, value :: String, variant :: Variant | r)

#textarea Source

textarea :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (TextareaProps ())) => Record givenProps -> kids -> JSX