@uiw/react-native
Version:
UIW for React Native
14 lines (13 loc) • 472 B
TypeScript
import React from 'react';
import { ViewProps, TextProps } from 'react-native';
export interface DividerProps extends ViewProps {
label?: string;
gutter?: number;
style?: ViewProps['style'];
lineStyle?: ViewProps['style'];
labelStyle?: TextProps['style'];
type?: 'horizontal' | 'vertical';
/** 分割线标题的位置 */
orientation?: 'left' | 'right' | 'center';
}
export default function Divider(props: DividerProps): React.JSX.Element;