UNPKG

@uiw/react-native

Version:
26 lines (25 loc) 633 B
/// <reference types="react" /> import { ViewStyle } from 'react-native'; import { size } from './index'; export declare enum containerSize { small = 30, default = 36, large = 44 } export declare enum contentSize { small = 12, default = 18, large = 26 } export interface DirTextProps { size: size; direction: 'left' | 'right'; disabled: boolean; icon: boolean; onPageChange: (type: 'prev' | 'next') => void; borderColor?: string; color?: string; } declare const DirText: (props: DirTextProps) => JSX.Element; export declare const containerStyle: ViewStyle; export default DirText;