react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
25 lines (24 loc) • 1.04 kB
TypeScript
import React, { Component } from 'react';
import { EventSubscription } from 'react-native';
export declare type CustomKeyboardViewBaseProps = {
inputRef?: any;
initialProps?: any;
component?: string;
onItemSelected?: (component?: string, args?: any) => void;
onRequestShowKeyboard?: (keyboardId: string) => void;
children?: React.ReactChild | React.ReactChild[];
};
export default class CustomKeyboardViewBase<T extends CustomKeyboardViewBaseProps> extends Component<T> {
static defaultProps: {
initialProps: {};
};
registeredRequestShowKeyboard: boolean;
keyboardExpandedToggle: any;
keyboardEventListeners: EventSubscription[];
constructor(props: T);
shouldComponentUpdate(nextProps: T): boolean;
componentWillUnmount(): void;
addOnItemSelectListener(onItemSelected: CustomKeyboardViewBaseProps['onItemSelected'], component: CustomKeyboardViewBaseProps['component']): void;
componentDidUpdate(prevProps: T): void;
registerListener(props: T, nextProps: T): void;
}