Module

Halogen.DayPickerInput

Package
purescript-halogen-day-picker
Repository
rnons/purescript-halogen-day-picker

A component containing a text input and a dayPicker. The dayPicker is wrapped in a dropdown.

#Props Source

type Props = { dayPickerProps :: Props, formatDate :: Date -> String, inputProps :: Array (IProp HTMLinput (Query Unit)), parseDate :: String -> Maybe Date, placeholder :: String, styles :: Styles, value :: Maybe Date }

What to show in the input and how to parse input value can be customized.

#Message Source

data Message

Constructors

#defaultProps Source

defaultProps :: Props -> Props

Default date format is YYYY-M-D.

#dayPickerInput Source

dayPickerInput :: forall m eff. MonadAff (HalogenEffects eff) m => Component HTML Query Props Message m

A components that includes a text input and DayPicker.dayPicker.

Re-exports from Halogen.DayPickerInput.Styles

#Styles Source

type Styles = { dropdown :: ClassName, input :: ClassName, root :: ClassName }

#defaultStyles Source