@kietpt2003/react-native-core-ui
Version:
React Native Core UI components by KietPT
22 lines • 623 B
TypeScript
import React from 'react';
import { View, ViewProps, ViewStyle } from 'react-native';
import { PaperProps } from './Paper';
export interface CardProps extends ViewProps, PaperProps {
/**
* If true, the card will use raised styling.
* @default false
*/
raised?: boolean;
/**
* The variant to use.
* @default 'elevation'
*/
variant?: PaperProps['variant'];
/**
* Custom style
*/
style?: ViewStyle | ViewStyle[];
}
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<View>>;
export default Card;
//# sourceMappingURL=Card.d.ts.map