1import { ClassAttributes, ComponentProps, ComponentType } from 'react';
2
3import Text from './Text';
4
5type NativeTextProps = ComponentProps<typeof Text> & ClassAttributes<typeof Text>;
6
7export type TableTextProps = NativeTextProps & {
8  /** @platform web */
9  colSpan?: number | string;
10  /** @platform web */
11  rowSpan?: number | string;
12};
13
14export const TableText = Text as ComponentType<TableTextProps>;
15