This is hopefully a temporary workaround to enable Expo-only users to use tamagui-typescript-plugin
-
Add
@tamagui/static
to your projectyarn add @tamagui/static
This is hopefully a temporary workaround to enable Expo-only users to use tamagui-typescript-plugin
Add @tamagui/static
to your project
yarn add @tamagui/static
import { FC } from 'react'; | |
/** | |
* Utilities to make Typescript happy wrapping Zeego components with Tamagui's | |
* styled() components. These utils do nothing except assign Typescript types. | |
* | |
* Makes the following props optional and of `unknown` type: | |
* - children | |
* - key | |
* |
import { getVariable, ThemeTokens, useTheme } from '@tamagui/core'; | |
import { Path, Svg } from 'react-native-svg'; | |
const AR = 2; | |
export type MeterProps = { | |
color: ThemeTokens; | |
min: number; | |
max: number; | |
value?: number | null; |