Module

VISX.Util.Data.Responsive

Package
purescript-visx
Repository
i-am-the-slime/purescript-visx

#ParentSizeProps Source

type ParentSizeProps :: Row Typetype ParentSizeProps = (children :: RenderParentSizeChildren, className :: String, debounceTime :: Milliseconds, enableDebounceLeadingCall :: Boolean, ignoreDimensions :: Array String, parentSizeStyles :: CSS)

#ParentSizeState Source

type ParentSizeState :: Row Typetype ParentSizeState = (height :: Number, left :: Number, top :: Number, width :: Number)

#RenderParentSizeChildren Source

#ScaleSVGProps Source

type ScaleSVGProps :: Row Typetype ScaleSVGProps = (children :: Array JSX, height :: Number, innerRef :: forall ref. Ref ref, preserveAspectRatio :: String, width :: Number, xOrigin :: String, yOrigin :: String)

#parentSize Source

parentSize :: forall p p_. Union p p_ ParentSizeProps => ReactComponent { children :: RenderParentSizeChildren | p }

#scaleSVG Source

scaleSVG :: forall p p_. Union p p_ ScaleSVGProps => ReactComponent (Record p)

#withParentSize Source

withParentSize :: forall r. ReactComponent { parentHeight :: Number, parentWidth :: Number | r } -> ReactComponent (Record r)

#withParentSizeModern Source

withParentSizeModern :: forall r. ReactComponent { parentHeight :: Number, parentWidth :: Number | r } -> ReactComponent (Record r)

#withScreenSize Source

withScreenSize :: forall r. ReactComponent { screenHeight :: Number, screenWidth :: Number | r } -> ReactComponent (Record r)