Commit 15ee6d9c authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Folder] Text description of the folder.

parent 0038b247
module Gargantext.Folder where module Gargantext.Folder where
import Prelude import Prelude
import React.DOM (div, h1, text) import React.DOM (div, h1, text, p)
import Thermite (Render, Spec, simpleSpec, defaultPerformAction) import Thermite (Render, Spec, simpleSpec, defaultPerformAction)
-- TODO : get REST informations
render :: Render {} {} Void render :: Render {} {} Void
render dispatch _ state _ = [h1 [] [text "Folder"]] render dispatch _ state _ = [ h1 [] [text "Folder"]
, text "Some description of the folder here"
]
layoutFolder :: Spec {} {} Void layoutFolder :: Spec {} {} Void
layoutFolder = simpleSpec defaultPerformAction render layoutFolder = simpleSpec defaultPerformAction render
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment