import React from "react"; import { IconName } from "../Icon"; import { CellProps } from "./Cell"; type NavigationCellOptions = { /** * Additional titles to be shown next to the title section in the cell. */ additionalTitlesRight?: string[]; /** * Additional titles to be shown under the description section in the cell. */ additionalTitlesUnder?: never; } | { additionalTitlesRight?: never; additionalTitlesUnder?: string[]; }; export type NavigationCellProps = { /** * Title of the navigation cell. */ title: string; /** * The description field of the navigation cell. This will be shown under the title. */ description?: string; /** * Callback method invoked when a user presses the cell. * Leaving this `undefined` causes the cell to not respond to touch or hover events. */ onPress?: () => void; /** * A boolean value indicating whether or not the cell should be disabled or not. * This value affects the visual appearance of the cell and also makes it not respond to presses. */ disabled?: boolean; /** * Name of the icon to use as a left adornment. */ iconName?: IconName; } & NavigationCellOptions & Omit; export declare const NavigationCell: { ({ title, onPress, disabled, description, iconName, additionalTitlesRight, additionalTitlesUnder, ...cellProps }: NavigationCellProps): React.JSX.Element; displayName: string; }; export {};