Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ChildProps = ChildProps {
- cOrder :: Int
- cFlexGrow :: Int
- cFlexShrink :: Int
- cFlexBasis :: Size LengthUnit
- cAlignSelf :: AlignSelfValue
- data ParentProps = ParentProps {}
- defaultParentProps :: ParentProps
- defaultChildProps :: ChildProps
- flexbox :: UI Element -> ParentProps -> [(UI Element, ChildProps)] -> UI Element
- column :: UI Element -> [UI Element] -> UI Element
- row :: UI Element -> [UI Element] -> UI Element
Documentation
data ChildProps Source #
Properties for a child.
ChildProps | |
|
data ParentProps Source #
Properties for a parent.
defaultParentProps :: ParentProps Source #
Default properties for a parent.
defaultChildProps :: ChildProps Source #
Default properties for a child.
flexbox :: UI Element -> ParentProps -> [(UI Element, ChildProps)] -> UI Element Source #
Attach elements to a parent element, with given Flexbox properties applied.