@aomi/react-native-components
Version:
React Native Components
16 lines (15 loc) • 607 B
TypeScript
import * as React from 'react';
import { TouchableNativeFeedbackProps, TouchableOpacityProps, ViewProps } from 'react-native';
export declare type ListItemProps<CProps = ViewProps> = CProps & {
Component?: React.ElementType<CProps>;
button?: boolean;
} & TouchableOpacityProps & TouchableNativeFeedbackProps;
/**
* list item
*/
export declare const ListItem: React.ForwardRefExoticComponent<ViewProps & {
Component?: React.ElementType<ViewProps>;
button?: boolean;
} & TouchableOpacityProps & TouchableNativeFeedbackProps & {
children?: React.ReactNode;
} & React.RefAttributes<any>>;