package styled-ppx

  1. Overview
  2. Docs
Type-safe styled components for ReScript and Melange

Install

dune-project
 Dependency

Authors

Maintainers

Sources

styled-ppx-0.61.0.tbz
sha256=c6eba770e9e9bb9002bf3f759f99ebcec6d7b4132c6c2ad562886c88b6839bab
sha512=8a1776181f6ef292518a0b96b1fae7927cf5767dee75dc04bc05d99d297866e45a5943455bea9ce500a04a635bd179d2b2bec8bccebc55dc1e696a23b3efad69

doc/styled-ppx.native/Css_types/Position/index.html

Module Css_types.Position

module X : sig ... end
module Y : sig ... end
type t = [
  1. | X.t
  2. | Y.t
  3. | `hv of [ X.t | Length.t ] * [ Y.t | Length.t ]
  4. | `hvOffset of X.t * Length.t * Y.t * Length.t
  5. | Length.t
]
val hv : [ `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `left | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `right | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] -> [ `bottom | `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `top | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] -> [> `hv of [ `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `left | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `right | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] * [ `bottom | `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `top | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] ]
val hvOffset : X.t -> Length.t -> Y.t -> Length.t -> [> `hvOffset of X.t * Length.t * Y.t * Length.t ]
val top : [> `top ]
val bottom : [> `bottom ]
val left : [> `left ]
val right : [> `right ]
val center : [> `center ]
val toString : [< `bottom | `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `hv of [< `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `left | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `right | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] * [< `bottom | `calc of Length.calc_value | `center | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `inch of float | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `top | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] | `hvOffset of [< `center | `left | `right ] * Length.t * [< `bottom | `center | `top ] * Length.t | `inch of float | `left | `max of Length.t array | `min of Length.t array | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `right | `top | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] -> string