exodeui-react-native
v1.0.0
Published
React Native runtime for ExodeUI animations
Maintainers
Readme
exodeui-react-native
The React Native Runtime for the ExodeUI Animation Engine. Render ExodeUI animations natively using Skia.
Installation
npm install exodeui-react-native @shopify/react-native-skia
# or
yarn add exodeui-react-native @shopify/react-native-skiaSetup
Ensure you have configured @shopify/react-native-skia in your project according to their installation guide.
Basic Usage
import { ExodeUIView } from 'exodeui-react-native';
import animationData from './my-animation.json';
function App() {
return (
<ExodeUIView
artboard={animationData}
style={{ width: 300, height: 300 }}
/>
);
}API
<ExodeUIView />
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| artboard | object | undefined | The JSON animation data object. |
| style | ViewStyle | - | Styles for the container view. |
| onReady | (engine: any) => void | undefined | Callback fired when the engine is loaded. |
License
MIT
