Forms.purs 575 Bytes
Newer Older
1 2 3 4 5
module Gargantext.Components.Forms where

import Reactix as R
import Reactix.DOM.HTML as H

6
clearfix :: {} -> R.Element
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
clearfix _ = H.div {className: "clearfix"} []

formGroup :: Array R.Element -> R.Element
formGroup = H.div {className: "form-group"}

center :: Array R.Element -> R.Element
center = H.div {className: "center"}

card :: Array R.Element -> R.Element
card = H.div {className: "card"}

cardBlock :: Array R.Element -> R.Element
cardBlock = H.div {className: "card-block"}

cardGroup :: Array R.Element -> R.Element
cardGroup = H.div {className: "card-group"}