import * as React from "react"; import { ViewStyle, Image, StyleProp } from "react-native"; import { DefaultTheme } from "styled-components"; declare type Props = React.ComponentPropsWithRef & { /** * @internal */ index?: number; /** * @internal */ total?: number; style?: StyleProp; /** * @optional */ theme?: DefaultTheme; }; /** * A component to show a cover image inside a Card. * *
*
* *
*
* * ## Usage * ```js * import * as React from 'react'; * import Card from 'react-native-simple-elements/components/Card'; * * const MyComponent = () => ( * * * * ); * * export default MyComponent; * ``` * * @extends Image props https://reactnative.dev/docs/image#props */ declare const CardCover: { ({ index, total, style, ...rest }: Props): JSX.Element; displayName: string; }; export default CardCover; export { CardCover };