@naarni/design-system
Version:
Naarni React Native Design System for EV Fleet Apps
17 lines • 543 B
TypeScript
import { ReactNode } from 'react';
import { ViewStyle, ImageSourcePropType } from 'react-native';
export type CardAnimationType = 'none' | 'shine' | 'sine-shine' | 'stars' | 'drops';
export interface CardProps {
title?: string;
subtitle?: string;
image?: ImageSourcePropType;
elevation?: number;
style?: ViewStyle;
children?: ReactNode;
backgroundColor?: string;
key?: string | number;
animated?: boolean;
animationType?: CardAnimationType;
loop?: boolean;
}
//# sourceMappingURL=interfaces.d.ts.map