From 31e757e982eebc9e60fc198e6f64279eb79635e7 Mon Sep 17 00:00:00 2001 From: Zeya Peng Date: Wed, 8 Apr 2026 13:30:44 -0400 Subject: [PATCH] fix code snippet --- website/blog/2026-04-07-react-native-0.85.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/website/blog/2026-04-07-react-native-0.85.md b/website/blog/2026-04-07-react-native-0.85.md index 6959a44a441..7a743f3def2 100644 --- a/website/blog/2026-04-07-react-native-0.85.md +++ b/website/blog/2026-04-07-react-native-0.85.md @@ -67,13 +67,10 @@ With the new animation backend, you'll be able to animate Flexbox and position p ```jsx import { Animated, - View, Button, + View, useAnimatedValue, } from 'react-native'; -import {allowStyleProp} from 'react-native/Libraries/Animated/NativeAnimatedAllowlist'; - -allowStyleProp('width'); function MyComponent() { const width = useAnimatedValue(100); @@ -87,12 +84,12 @@ function MyComponent() { }; return ( - <> +