elmPrima Design System public package for elm.
It helps to build scalable UIs by mantaining consistency between design and components across different apps.
Written in [email protected].
By using elm's type system we can predict behaviors of our components and test them, building strong, scalable ecosystem for our design.
aliases.apis.Example.elm which shows up what the component you created does.frontend team and consider with them the need to tag a new release of Pyxis.exposing (..)) operator.Accordions is bad. Accordion is good.Accordion.initAccordion is bad. Accordion.init is good.Example:
import Prima.Pyxis.Accordion.Accordion as Accordion exposing (Config, State, Accordion)
...
view : Model -> List (Html Msg)
view model =
Accordion.render model.accordionState model.accordionConfig
...Run the following commands after you had committed your work:
./node_modules/.bin/elm bump./node_modules/.bin/elm publishRun the ./node_modules/.bin/elm reactor command.
It will start a local server which points to http://localhost:8000 .
Remember to run Pyxis on local webserver in order to see styled form fields.
You can now navigate through the examples and test your work before publishing it.