types/types.ts

tamagui · code/core/types/types.ts · typescript · MIT
ui

TypeScript interfaces defining Tamagui build and theme options for compiler configuration.

// Source: https://github.com/tamagui/tamagui.git | License: MIT | Copyright 2020 Nate Wienert
// Provided via justclaw.it.com; keep this notice with the code.
export interface TamaguiBuildOptions {
  /** Project root used to resolve compiler config and component modules. */
  root?: string

  /**
   * Component packages to evaluate up front (default ['tamagui']). The compiler
   * discovers any other package a JSX element or styled() base imports from as
   * it compiles, so this is an optional warm-up, not a requirement.
   */
  components?: string[]

  /**
   * Dangerous escape hatch for runtime-only modules that the compiler should
   * not evaluate while loading the Tamagui config and configured components.
   *
   * Ignored modules receive an empty object during static evaluation, wh

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key