Core styled() function implementation for creating styled components with variant support in Tamagui.
// Source: https://github.com/tamagui/tamagui.git | License: MIT | Copyright 2020 Nate Wienert
// Provided via justclaw.it.com; keep this notice with the code.
import { stylePropsInput, stylePropsText } from '@tamagui/helpers'
import { createComponent } from './createComponent'
import { componentDisplayName } from './helpers/componentDisplayName'
import { mergeVariants } from './helpers/mergeVariants'
import { resolveVariantStyle } from './helpers/resolveVariantStyle'
import { styledDynamic } from './helpers/styledDynamic'
import type { FrontendComponent, StyleFrontend } from './helpers/styleFrontend'
import { warnOnce } from './helpers/warnOnce'
import type { GetRef } from './interfaces/GetRef'
import { getReactNativeConfig } from './setupReactNative'
import type {
GetBaseStyles,
Get
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key