pankod/react-native-picker-modal-view

View on GitHub
src/Interfaces/ISelectBoxInDto.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { IModalListInDto } from '@Interfaces';

type ListType = IModalListInDto[];

export interface ISelectBoxProps {
    selectedObject?: IModalListInDto;
    openModal: () => void;
    chooseText: string;
    disabled?: boolean;
    renderSelectView?: (disabled: boolean, selected: IModalListInDto, showModal: () => void) => React.ReactElement
    items: ListType;
}