package styled-ppx

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

Install

Dune Dependency

Authors

Maintainers

Sources

styled-ppx-0.56.0.tbz
sha256=f93a08d11849c6010fc3e1c5650d811a14dc60d1f2ea74edb6e2514f12d9f35f
sha512=ad90141c288c368ee60455380706deacc41daffb412e9716c28eadc7aff0360110ca0b953a71b4c58eb6ad33c4dafbc066a9002cc0b17a2fd2dd8a5714f7c668

doc/styled_ppx/Styled_ppx/Mapper/index.html

Module Styled_ppx.Mapper

val match_ : Ppxlib.module_expr -> (string Ppxlib__.Loc.t * [> `Array of Ppxlib__.Import.expression list | `Function of Ppxlib__.Import.arg_label * Ppxlib__.Import.expression option * Ppxlib__.Import.pattern * Ppxlib__.Import.expression | `String of string Ppxlib__.Loc.t * string option ]) option
val getHtmlTag : string -> string option
val getHtmlTagUnsafe : loc:Ppxlib.Location.t -> string -> string
val isStyled : string -> bool
type contents =
  1. | Match of Ppxlib.expression * Ppxlib.case list
  2. | ListOf of Ppxlib.expression
  3. | EmptyList
val lid : string -> Ppxlib.longident Ppxlib.loc
val css : string Ppxlib.loc -> contents -> Astlib.Ast_500.Parsetree.expression
val transform : Ppxlib.structure_item -> Ppxlib__.Import.structure_item
OCaml

Innovation. Community. Security.