@tamagui/core 1.0.1-beta.195 → 1.0.1-beta.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/createComponent.js +12 -7
- package/dist/cjs/createComponent.js.map +2 -2
- package/dist/cjs/styled.js +10 -7
- package/dist/cjs/styled.js.map +2 -2
- package/dist/cjs/types.js.map +1 -1
- package/dist/esm/createComponent.js +12 -7
- package/dist/esm/createComponent.js.map +2 -2
- package/dist/esm/styled.js +10 -7
- package/dist/esm/styled.js.map +2 -2
- package/package.json +12 -12
- package/src/createComponent.tsx +16 -8
- package/src/styled.tsx +10 -7
- package/src/types.tsx +2 -2
- package/types/types.d.ts +2 -2
package/types/types.d.ts
CHANGED
|
@@ -443,7 +443,7 @@ export declare type StaticConfigPublic = {
|
|
|
443
443
|
/**
|
|
444
444
|
* Auto-detect, but can override, passes styles properly to react-native-web
|
|
445
445
|
*/
|
|
446
|
-
|
|
446
|
+
isReactNative?: boolean;
|
|
447
447
|
/**
|
|
448
448
|
* By default if styled() doesn't recognize a parent Tamagui compoent or specific react-native views,
|
|
449
449
|
* it will assume the passed in component only accepts style={} for react-native compatibility.
|
|
@@ -598,7 +598,7 @@ export declare type UniversalAnimatedNumber<A> = {
|
|
|
598
598
|
stop(): void;
|
|
599
599
|
};
|
|
600
600
|
export declare type AnimationDriver<A extends AnimationConfig = AnimationConfig> = {
|
|
601
|
-
|
|
601
|
+
isReactNative?: boolean;
|
|
602
602
|
useAnimations: UseAnimationHook;
|
|
603
603
|
useAnimatedNumber: (initial: number) => UniversalAnimatedNumber<any>;
|
|
604
604
|
useAnimatedNumberStyle: <V extends UniversalAnimatedNumber<any>>(val: V, getStyle: (current: any) => any) => any;
|