Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

import React from 'react';
import { Text, View } from 'react-native';
import { createAnimatedComponent, css } from 'react-native-reanimated';
import { createCSSAnimatedComponent, css } from 'react-native-reanimated';

import { Screen } from '@/apps/css/components';
import { flex } from '@/theme';

const AnimatedView = createAnimatedComponent(View);
const AnimatedView = createCSSAnimatedComponent(View);

export default function Playground() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/fabric-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3187,7 +3187,7 @@ SPEC CHECKSUMS:
RNCClipboard: 4b58c780f63676367640f23c8e114e9bd0cf86ac
RNCMaskedView: 5ef8c95cbab95334a32763b72896a7b7d07e6299
RNGestureHandler: f1dd7f92a0faa2868a919ab53bb9d66eb4ebfcf5
RNReanimated: 3b47c33660454c6f9700b463e92daa282030866a
RNReanimated: 97ebf4d3c76929b6b0f866cfbd41c49b3a0d2dbf
RNScreens: 6ced6ae8a526512a6eef6e28c2286e1fc2d378c3
RNSVG: 287504b73fa0e90a605225aa9f852a86d5461e84
RNWorklets: 991f94e4fa31fc20853e74d5d987426f8580cb0d
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-reanimated/src/css/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
export { createAnimatedComponent } from './component';
export { createAnimatedComponent as createCSSAnimatedComponent } from './component';
export { cubicBezier, linear, steps } from './easing';
export * from './stylesheet';
export type {
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-reanimated/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import * as Animated from './Animated';

export default Animated;

export { createAnimatedComponent } from './Animated';
export type {
DecayAnimation,
DelayAnimation,
Expand Down
Loading