UNPKG

@uiw/react-native

Version:
17 lines (16 loc) 587 B
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; import { size } from './index'; export interface PageProps { size: size; current: number; currentColor?: string; totalPage: number; renderPages?: (current: number, totalPage: number) => React.ReactNode; onCurrent?: (current: number, totalPage?: number) => unknown; setCurrent: React.Dispatch<React.SetStateAction<number>>; simple?: boolean; } declare const Page: (props: PageProps) => JSX.Element; export declare const inputStyle: ViewStyle | TextStyle; export default Page;