import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; export type Ux4gDividerOrientation = 'horizontal' | 'vertical'; export type Ux4gDividerStyle = 'solid' | 'dashed' | 'dotted'; export interface Ux4gDividerProps { /** * Orientation of the divider (`horizontal` or `vertical`). * @default 'horizontal' */ orientation?: Ux4gDividerOrientation; /** * Color of the divider line. * If undefined, defaults to `theme.colors.onSurface` with 20% opacity (`#...33`). */ color?: string; /** * Thickness (stroke width / height / width) of the divider line. * @default 1.0 */ thickness?: number; /** * Line style (`solid`, `dashed`, or `dotted`). * @default 'solid' */ style?: Ux4gDividerStyle; /** * Leading space indentation before the line begins. * For horizontal divider, applies to left margin/padding. * For vertical divider, applies to top margin/padding. * @default 0.0 */ startIndent?: number; /** * Trailing space indentation after the line ends. * For horizontal divider, applies to right margin/padding. * For vertical divider, applies to bottom margin/padding. * @default 0.0 */ endIndent?: number; /** * Optional label component or string rendered at the center of the divider. * When provided, the divider line splits into two symmetrical segments on either side of the label. */ label?: React.ReactNode | string; /** * Spacing around the label (`width` for horizontal, `height` for vertical). * @default 8.0 */ labelSpacing?: number; /** * Explicit width constraint of the divider container. */ width?: number | string; /** * Explicit height constraint of the divider container. */ height?: number | string; /** * Additional style attributes for the root divider container. */ containerStyle?: StyleProp; /** * Custom style attributes for the label text when `label` is passed as a string. */ labelTextStyle?: StyleProp; } export declare const Ux4gDivider: React.FC; //# sourceMappingURL=Divider.d.ts.map