import React from 'react'; import { ViewStyle, StyleProp, TextStyle } from 'react-native'; import { SpacingProps } from '../../../theme'; import { TestableProps } from '../../common/test'; export type DividerOrientation = 'horizontal' | 'vertical'; export type DividerColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'text' | 'subtext' | 'border' | 'divider' | string; export interface DividerProps extends SpacingProps, TestableProps { orientation?: DividerOrientation; color?: DividerColor; thickness?: number; inset?: number | { start?: number; end?: number; }; style?: StyleProp; testID?: string; /** 中间标题文案(简单场景) */ title?: string; /** 中间标题自定义节点(复杂场景,优先于 title) */ titleNode?: React.ReactNode; /** 标题样式(颜色/字号/字重等) */ titleStyle?: StyleProp; /** 标题与左右/上下线的间距 */ titleSpacing?: number; } declare const Divider: React.FC; export default Divider; export { Divider }; //# sourceMappingURL=Divider.d.ts.map