UNPKG

nativescript-custom-bottomsheet

Version:

Nativescript Custom Bottomsheet is a plugin that enable the show a custom beautiful actionsheet/bottomsheet.

20 lines (16 loc) 420 B
import { CBSheetOption } from "./custom-bottomsheet.common"; export declare class CustomBottomsheet { constructor(); show(options: CBSheetOption): void; } export interface CBSheetOption { title: string; icon: string; items: Array<any>; onItemTap?: (index: any, item: CBSheetItem) => void; cancelButtonText?: string; } export interface CBSheetItem { title: string; icon: string; }