mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
15 lines
420 B
TypeScript
15 lines
420 B
TypeScript
import { config } from '@tamagui/config/v3'
|
|
import { createTamagui } from 'tamagui' // or '@tamagui/core'
|
|
|
|
const appConfig = createTamagui(config)
|
|
|
|
export type AppConfig = typeof appConfig
|
|
|
|
declare module 'tamagui' {
|
|
// or '@tamagui/core'
|
|
// overrides TamaguiCustomConfig so your custom types
|
|
// work everywhere you import `tamagui`
|
|
interface TamaguiCustomConfig extends AppConfig { }
|
|
}
|
|
|
|
export default appConfig |