@hoddy-ui/core 1.1.2 → 1.1.4
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/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { initialize } from "./src/config";
|
|
|
3
3
|
// Components
|
|
4
4
|
export { default as AdaptiveStatusBar } from "./src/Components/AdaptiveStatusBar";
|
|
5
5
|
export { default as AlertX } from "./src/Components/AlertX";
|
|
6
|
-
export * from "./src/Components/Animator";
|
|
6
|
+
export * from "./src/Components/Animators/Animator";
|
|
7
7
|
export { default as Avatar } from "./src/Components/Avatar";
|
|
8
8
|
export * from "./src/Components/Button";
|
|
9
9
|
export { default as Button } from "./src/Components/Button";
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ import { useThrownUpAnimation } from "./hooks/useThrownUpAnimation";
|
|
|
46
46
|
* // ✅ This is correct:
|
|
47
47
|
* // <Animator type="slide" direction="up">
|
|
48
48
|
*/
|
|
49
|
-
const Animator: FC<AnimatorProps> = (props) => {
|
|
49
|
+
export const Animator: FC<AnimatorProps> = (props) => {
|
|
50
50
|
const { children, type, duration, delay, closeAfter, style = {} } = props;
|
|
51
51
|
|
|
52
52
|
// Get animation style based on type
|
|
@@ -113,5 +113,3 @@ const Animator: FC<AnimatorProps> = (props) => {
|
|
|
113
113
|
<Animated.View style={[style, animatedStyle]}>{children}</Animated.View>
|
|
114
114
|
);
|
|
115
115
|
};
|
|
116
|
-
|
|
117
|
-
export default Animator;
|