rn-inkpad
Version:
<img src="https://res.cloudinary.com/fercloudinary/image/upload/v1715452841/packages/inkpad-banner_acl0xl.png" />
48 lines (44 loc) • 933 B
text/typescript
import {DimensionValue, ImageSourcePropType} from 'react-native';
import {ValidColor} from './commonTypes';
import {IconName} from './iconType';
export type cardTheme = {
backgroundColor?: string;
iconSize?: number;
themeColor?: ValidColor;
titleColor?: string;
titleSize?: number;
shadow?: boolean;
};
export type imageCardTheme = {
backgroundColor?: string;
fontColor?: string;
fontSize?: number;
fontWeight?:
| 'normal'
| 'bold'
| '100'
| '200'
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| '900';
radius?: number;
shadow?: boolean;
};
export type FloatingActionCardProps = {
backgroundColor?: ValidColor;
bottom?: number;
description?: string;
decimals?: number;
icon?: IconName;
iconColor?: string;
image?: ImageSourcePropType;
rating?: number;
textColor?: string;
title: string;
width?: DimensionValue;
onPress?: () => void;
};