Folder.purs 416 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
module Gargantext.Components.Folder where

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

-- TODO : get REST informations

folder :: {} -> R.Element
folder props = R.createElement folderCpt props []

folderCpt :: R.Component ()
folderCpt = R.staticComponent "G.C.Folder.folder" cpt
  where
    cpt _ _ =
      R.fragment
      [ H.h1 {} [ H.text "Folder" ]
      , H.text "Some description of the folder here" ]