KeyboardAvoidingView/types.ts

NativeBase · src/components/basic/KeyboardAvoidingView/types.ts · typescript · MIT
ui, UI / Frontend

Type definitions for KeyboardAvoidingView component in NativeBase, extending RN props.

// Source: https://github.com/GeekyAnts/NativeBase | License: MIT | Copyright 2021 GeekyAnts India Pvt Ltd
// Provided via justclaw.it.com; keep this notice with the code.
import type { KeyboardAvoidingViewProps } from 'react-native';
import type { StyledProps } from '../../../theme/types';
import type { CustomProps, PlatformProps } from '../../types';

export interface InterfaceKeyboardAvoidingViewProps
  extends KeyboardAvoidingViewProps,
    StyledProps,
    PlatformProps<IKeyboardAvoidingViewProps> {
  /**
   * Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. */
  children?: JSX.Element | JSX.Element[] | string | any;
}

export type IKeyboardAvoidingViewProps = InterfaceKeyboardAvoidingViewProps &
  CustomProps<'KeyboardAvoidingView'>;

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key