Module

Sketch.UI

Package
purescript-sketch
Repository
iarthstar/purescript-sketch

#alert Source

alert :: String -> String -> Effect Unit

Show an alert with a custom title and message.

#message Source

message :: String -> Effect Unit

Show a small, temporary, message to the user.

#getInputFromUser Source

getInputFromUser :: forall a. Decode a => String -> InputType -> Effect (Either (NonEmptyList ForeignError) a)

Shows a simple input sheet which displays a message, and asks for an input from the user.

#getTheme Source

getTheme :: Effect Theme

Gets the theme of Sketch