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

Module Css_types.Content

type t = [
  1. | None.t
  2. | `normal
  3. | `openQuote
  4. | `closeQuote
  5. | `noOpenQuote
  6. | `noCloseQuote
  7. | `attr of string
  8. | `text of string
  9. | Counter.t
  10. | Counters.t
  11. | Image.t
  12. | Var.t
  13. | Cascading.t
]
val text_to_string : string -> string
val toString : [< `attr of string | `attrWithType of string * string | `closeQuote | `conicGradient of Gradient.direction option * Gradient.color_stop_list | `counter of string * CounterStyleType.t option | `counters of string * string * Counters.style | `inherit_ | `initial | `linearGradient of Gradient.direction option * Gradient.color_stop_list | `noCloseQuote | `noOpenQuote | `none | `normal | `openQuote | `radialGradient of Gradient.shape option * Gradient.radial_size option * Position.t option * Gradient.color_stop_list | `repeatingLinearGradient of Gradient.direction option * Gradient.color_stop_list | `repeatingRadialGradient of Gradient.shape option * Gradient.radial_size option * Position.t option * Gradient.color_stop_list | `revert | `revertLayer | `text of string | `unset | `url of string | `var of string | `varDefault of string * string ] -> string