UNPKG

@nativescript-community/ui-persistent-bottomsheet

Version:

NativeScript plugin that allows you to easily add a persistent bottomsheet to your projects.

9 lines 482 B
import * as React from 'react'; import { NSVElement, registerElement } from 'react-nativescript'; import { Color, View } from '@nativescript/core'; import { PersistentBottomSheet as NativeScriptBottomSheet } from '..'; export function registerDrawer() { registerElement('bottomsheet', () => require('../').BottomSheet); } export const BottomSheet = React.forwardRef((props, ref) => (React.createElement("bottomsheet", { ...props, ref: ref }))); //# sourceMappingURL=index.js.map