@niku/react-native-dropdown-select
Version:
A Dropdown select component for React Native
10 lines (9 loc) • 783 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import type { DropdownOptionGroup as IDropdownOptionGroup, DropdownOptionItem } from './types';
export declare function isFunction(f: any): f is CallableFunction;
export declare function isEmptyChildren(children: any): boolean;
export declare function isDropdownOptionItem(option: any): option is DropdownOptionItem;
export declare function isDropdownOptionGroup(option: any): option is IDropdownOptionGroup<any>;
export declare function getRenderComponent<Props = any>(props: Props, component?: React.ElementType<Props>, render?: (props: Props) => React.ReactNode, node?: React.ReactNode): any;
export declare function getPaddingLeft(style: StyleProp<ViewStyle>): string | number | undefined;