import type { StyleProp, ViewStyle, ViewProps } from 'react-native'; import type { SizeProp } from '../../tokens/size'; import type { ColorProp, SxProps, SlotPropsConfig } from '../../types/shared'; export interface TimelineSlots { [key: string]: React.ComponentType; Root: React.ComponentType; } export type TimelinePosition = 'left' | 'right' | 'alternate'; export interface TimelineProps extends SlotPropsConfig { /** * Determines which side of the separator content appears. * 'alternate' flips layout for every other item. * @default 'right' */ position?: TimelinePosition; size?: SizeProp; color?: ColorProp; sx?: SxProps; children?: React.ReactNode; style?: StyleProp; } export interface TimelineItemProps { children?: React.ReactNode; style?: StyleProp; } export interface TimelineSeparatorProps { children?: React.ReactNode; style?: StyleProp; } export type TimelineDotVariant = 'filled' | 'outlined'; export type TimelineDotColor = 'inherit' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'grey'; export interface TimelineDotProps { /** @default 'filled' */ variant?: TimelineDotVariant; /** @default 'grey' */ color?: TimelineDotColor; children?: React.ReactNode; style?: StyleProp; } export interface TimelineConnectorProps { style?: StyleProp; } export interface TimelineContentProps { children?: React.ReactNode; style?: StyleProp; } export interface TimelineOppositeContentProps { children?: React.ReactNode; style?: StyleProp; } /** Context value provided by Timeline to its children */ export interface TimelineContextValue { position: TimelinePosition; registerItem: () => number; } //# sourceMappingURL=types.d.ts.map