native-base
Version:
Essential cross-platform UI components for React Native
14 lines (13 loc) • 695 B
TypeScript
import type { ScrollViewProps } from 'react-native';
import type { StyledProps } from '../../../theme/types';
import type { CustomProps, PlatformProps } from '../../types';
export interface InterfaceScrollViewProps extends ScrollViewProps, StyledProps, PlatformProps<IScrollViewProps> {
/**
* Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. */
children?: JSX.Element | JSX.Element[] | string | any;
/**
* pass props to contentContainerStyle, and this also resolved NB tokens.
*/
_contentContainerStyle?: Partial<IScrollViewProps>;
}
export declare type IScrollViewProps = InterfaceScrollViewProps & CustomProps<'ScrollView'>;