This module gives the default styled prompts for feedback.
( String
, PromptType
)
A prompt is a message string with prompt type
-- A basic example of prompt
Prompt ("You have successfully added the prompt module", PromptSuccess)
A prompt can be of one of the following types 1. Success Prompt : green in color 1. Danger Prompt : red in color 1. Information Prompt : blue in color
show : Prompt -> Html msg
Show function shows the prompt on the UI using default styles. -- add the following line to your view function's child elements to see a basic prompt show <| Prompt ("You have successfully added the prompt module", PromptSuccess)