React.Basic.Emotion  
- Package
- purescript-react-basic-emotion
- Repository
- lumihq/purescript-react-basic-emotion
#IsStyleProperty Source
#elementKeyed Source
elementKeyed :: forall props. ReactComponent { className :: String | props } -> { className :: String, css :: Style, key :: String | props } -> JSXCreate a JSX node from a ReactComponent, by providing the props.
This function is identical to React.Basic.element plus Emotion's
css prop.
#css Source
css :: forall r. Homogeneous r StyleProperty => Record r -> Style#global Source
global :: ReactComponent { styles :: Style }#keyframes Source
keyframes :: forall r. Homogeneous r StyleProperty => Record r -> StyleProperty#nested Source
nested :: Style -> StyleProperty#str Source
str :: String -> StyleProperty#int Source
int :: Warn (Text "`int` is deprecated and may be removed in future versions. Prefer `str` or one of the unit combinators like `px` or `em` instead.") => Int -> StyleProperty#num Source
num :: Warn (Text "`int` is deprecated and may be removed in future versions. Prefer `str` or one of the unit combinators like `px` or `em` instead.") => Number -> StyleProperty#url Source
url :: URL -> StyleProperty#color Source
color :: Color -> StyleProperty#px Source
px :: Int -> StylePropertyPixels. This function does not take a Number because approaches to
subpixel rendering vary among browser implementations.
#px' Source
px' :: Number -> StylePropertyPixels and subpixels.
WARNING: Approaches to subpixel rendering vary among browser implementations. This means that non-integer pixel values may be displayed differently in different browsers.
#cm Source
cm :: Number -> StylePropertyCentimeters
#mm Source
mm :: Number -> StylePropertyMilimeters
#inches Source
inches :: Number -> StylePropertyInches (1in ≈ 2.54cm)
#pt Source
pt :: Number -> StylePropertyPoints (1pt = 1/72 of 1in)
#pc Source
pc :: Number -> StylePropertyPicas (1pc = 12 pt)
#em Source
em :: Number -> StylePropertyRelative to the font-size of the element (2em means 2 times the size of the current font).
#ex Source
ex :: Number -> StylePropertyRelative to the x-height of the current font (rarely used).
#ch Source
ch :: Number -> StylePropertyRelative to the width of the "0" (zero) character.
#rem Source
rem :: Number -> StylePropertyRelative to font-size of the root element.
#vw Source
vw :: Number -> StylePropertyRelative to 1% of the width of the viewport.
#vh Source
vh :: Number -> StylePropertyRelative to 1% of the height of the viewport.
#vmin Source
vmin :: Number -> StylePropertyRelative to 1% of viewport's smaller dimension.
#vmax Source
vmax :: Number -> StylePropertyRelative to 1% of viewport's larger dimension.
#percent Source
percent :: Number -> StylePropertyRelative to the parent element.
- Modules
- React.Basic. Emotion