@naarni/design-system
Version:
Naarni React Native Design System for EV Fleet Apps
48 lines • 1.17 kB
TypeScript
export declare const useCardStyles: () => {
getCardStyle: (elevation: number, backgroundColor: string) => {}[];
getTitleStyle: (textColor: string) => {
fontSize: number;
fontWeight: "bold";
marginBottom: number;
color: string;
};
getSubtitleStyle: (textColor: string) => {
fontSize: number;
color: string;
marginBottom: number;
opacity: number;
};
getImageStyle: () => {
width: any;
height: number;
borderRadius: number;
marginBottom: number;
};
};
export declare const styles: {
card: {
backgroundColor: string;
borderRadius: number;
padding: number;
marginVertical: number;
marginHorizontal: number;
};
elevated: {};
image: {
width: "100%";
height: number;
borderRadius: number;
marginBottom: number;
};
title: {
fontSize: number;
fontWeight: "bold";
marginBottom: number;
};
subtitle: {
fontSize: number;
color: string;
marginBottom: number;
};
};
//# sourceMappingURL=styles.d.ts.map