package styled-ppx

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

Install

Dune Dependency

Authors

Maintainers

Sources

styled-ppx-0.59.1.tbz
sha256=8e9aabb5b5f98be5ecf8ba733a0111bcffd5fa2cba85181a58ba791f6d01d454
sha512=fcd0cd606a2630268e8cf38e36dedfdbb1fb6171160808b486d79200c0170460cf32900741eaa7b881ceea644b31ee1dc2a555ad208ccb9ad845c3d86b83085c

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

Module Css_types.Time

type time = [
  1. | `s of int
  2. | `ms of int
]
type calc_value = [
  1. | time
  2. | `min of t array
  3. | `max of t array
  4. | `add of calc_value * calc_value
  5. | `sub of calc_value * calc_value
  6. | `mult of calc_value * calc_value
  7. | `div of calc_value * float
  8. | `calc of calc_value
  9. | `num of float
]
and t = [
  1. | time
  2. | `calc of calc_value
  3. | `min of t array
  4. | `max of t array
]
val s : 'a -> [> `s of 'a ]
val ms : 'a -> [> `ms of 'a ]
val toString : t -> string
val minmax_to_string : [< `calc of [< `add of t * t | `div of t * float | `mult of t * t | `sub of t * t ] | `max of t array | `min of t array | `ms of int | `num of float | `s of int max min ] -> string
val calc_value_to_string : calc_value -> string
OCaml

Innovation. Community. Security.