Forms.purs 641 Bytes
Newer Older
1 2
module Gargantext.Components.Forms where

James Laver's avatar
James Laver committed
3
import Record as Record
4 5
import Reactix as R
import Reactix.DOM.HTML as H
James Laver's avatar
James Laver committed
6
import Gargantext.Utils.Reactix as R2
7

James Laver's avatar
James Laver committed
8 9
clearfix :: R.Element
clearfix = H.div { className: "clearfix" } []
10 11

formGroup :: Array R.Element -> R.Element
James Laver's avatar
James Laver committed
12
formGroup = H.div { className: "form-group" }
13 14

center :: Array R.Element -> R.Element
James Laver's avatar
James Laver committed
15
center = H.div { className: "center" }
16 17

card :: Array R.Element -> R.Element
James Laver's avatar
James Laver committed
18
card = H.div { className: "card" }
19 20

cardBlock :: Array R.Element -> R.Element
James Laver's avatar
James Laver committed
21
cardBlock = H.div { className: "card-block" }
22 23

cardGroup :: Array R.Element -> R.Element
James Laver's avatar
James Laver committed
24
cardGroup = H.div { className: "card-group" }