import React from "react"; import { type StyleProp, type TextStyle, type ViewStyle } from "react-native"; type Props = { /** * Determines what the opacity of the wrapped view should be when touch is active. Defaults to `0.3`. */ activeOpacity?: number; /** * Item's primary text. It is `isRequired`. */ title?: string | Element; /** * Item's secondary text. */ subtitle?: string | Element; /** * Item's 3 lines text. */ text?: string | Element; /** * Expects a React Element. Rendered at the item's start/left. It is `isRequired`. */ iconLeft?: any; /** * Expects a React Element. Rendered at the item's start/right. */ iconRight?: any; /** * Used to truncate the text with an ellipsis after computing the text layout, * including line wrapping, such that the total number of lines does not exceed this number. * The default is `1`. */ titleNumberOfLines?: number; /** * Used to truncate the text with an ellipsis after computing the text layout, * including line wrapping, such that the total number of lines does not exceed this number. * The default is `1`. */ subtitleNumberOfLines?: number; /** * If true, disable all interactions for this component. */ touchDisabled?: boolean | null; /** * Item parent's styles. */ containerStyle?: StyleProp; /** * Item contents styles. */ contentStyle?: StyleProp; /** * Styles of the `title` property. */ titleStyle?: StyleProp; /** * Styles of the `subtitle` property. */ subtitleStyle?: StyleProp; /** * Styles of the `divider` property. */ dividerStyle?: StyleProp; /** * If `true` a line element (divider) will be rendered at the bottom of the item. * The default is `false`. */ divider?: boolean; /** * Set `true` to disable the touchable feedback and change the color to disabled styles. */ disabled?: boolean | null; /** * Called when the touch is released. */ onPress?(): void; /** * Called when the long press is released. */ onLongPress?(): void; }; export declare const Item: (props: Props) => React.JSX.Element; export default Item; //# sourceMappingURL=Item.d.ts.map