effect-io-ai

Package: @effect/printer
Module: Doc

Doc.WithPageWidth

Represents a document that reacts to the current page width.

Signature

export interface WithPageWidth<A> extends Doc.Variance<A> {
  readonly _tag: "WithPageWidth"
  readonly react: (pageWidth: PageWidth) => Doc<A>
}

Source

Since v1.0.0