Module Statement.DeclareComponent

type ('M, 'T) t = {
  1. id : ('M, 'T) Identifier.t;
  2. tparams : ('M, 'T) Type.TypeParams.t option;
  3. params : ('M, 'T) Type.Component.Params.t;
  4. renders : ('M, 'T) Type.component_renders_annotation;
  5. comments : ('M, unit) Syntax.t option;
}
val pp : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t -> unit
val show : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t -> string