Skip to content
This repository was archived by the owner on Aug 21, 2019. It is now read-only.

ajnsit/purescript-concur-semantic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-concur-semantic

What is it

Semantic UI bindings for Concur.

It's also a good demonstration of using external React components with Concur.

Example Usage

  1. Include semantic-ui CSS in your html page. In the examples I load them from a CDN like so -
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css">
  1. Use one of the widgets supplied by this library. E.g. -
import Concur.SemanticUI.Button (displayButton)
import Concur.SemanticUI.Button as B

helloWidget :: forall a. Widget HTML a
helloWidget = do
  displayButton (B.primary := true) (text "Click me")
  displayButton (B.secondary := true <> B.size := Massive) (text "Hello Sailor!")
  helloWidget
  1. *WORK IN PROGRESS Look at the official Demo to see the available widgets.

Attribution

Borrows parts of the semi-automatic binding generation code from https://github.com/albertov/purescript-react-semantic-ui/blob/master/gen.sh (MIT license).

About

Semantic UI bindings for Concur

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published