Module Statement.DeclareComponent

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