import React, { FunctionComponent, HTMLAttributes, ReactNode } from 'react'; import classNames from '../../lib/classNames'; import usePlatform from '../../hooks/usePlatform'; import getClassName from '../../helpers/getClassName'; import { HasRootRef } from '../../types'; import Tappable from '../Tappable/Tappable'; export interface RichCellProps extends HTMLAttributes, HasRootRef { text?: ReactNode; caption?: ReactNode; /** * `` */ before?: ReactNode; /** * Иконка 28 или текст */ after?: ReactNode; /** * Например `` */ bottom?: ReactNode; /** * Кнопка или набор кнопок `