import React from "react"; import { TimelineComponentTypes } from "./utils/types.internal.js"; type TimelineRowBaseProps = React.HTMLAttributes; export type TimelineRowProps = TimelineRowBaseProps & ({ /** * Label for the timeline row as either `string` or `React.ReactNode` * * * **Note**: When using `React.ReactNode`, `icon` and `headingTag` props are not available */ label: string; /** * Heading level for the label e.g h2, h3... * @default "h3" */ headingTag?: "h2" | "h3" | "h4" | "h5" | "h6"; /** * Icon next to label */ icon?: React.ReactNode; } | { label: Exclude; headingTag?: never; icon?: never; }); export interface TimelineRowType extends React.ForwardRefExoticComponent> { componentType: TimelineComponentTypes; } export declare const TimelineRow: TimelineRowType; export default TimelineRow;