# withAnimated

Canonical page: https://docs.ovok.com/native-sdk/guide/components/helpers/with-animated

`withAnimated` adapts a React component for Reanimated's animated component API.
Use it when a third-party component needs animated style props and cannot be passed
directly to `Animated.createAnimatedComponent`.

```tsx
import { withAnimated } from "@ovok/native/helpers";
import { TextInput } from "react-native-paper";

const AnimatedTextInput = withAnimated(TextInput);
```

This helper only adapts the component type. It does not add animations or alter the
wrapped component's behavior.
