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/Calc/index.html

Module Css_types.Calc

val max_or_min_values : ('a -> string) -> 'a array -> string
val min_max_num_to_string : ('a -> string) -> [< `calc of [< `add of 'a * 'a | `div of 'a * float | `mult of 'a * 'a | `sub of 'a * 'a ] | `max of 'a array | `min of 'a array | `num of float ] -> string
val min_max_to_string : ('a -> string) -> ([> `max of 'b | `min of 'c ] -> string) -> [< `add of 'a * 'a | `div of 'a * float | `max of 'b | `min of 'c | `mult of 'a * 'a | `sub of 'a * 'a ] -> string
OCaml

Innovation. Community. Security.