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/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 : int -> [> `s of int ]
val ms : int -> [> `ms of int ]
val toString : t -> string
val minmax_to_string : [< `calc of [< `add of t * t | `div of t * float | `mult of t * t | `num of float | `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