From 36cf999bfd8d1a0564ba9770a401e09a8650c607 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Tue, 29 Dec 2020 10:40:11 +0100 Subject: [PATCH] fix: export prop types ts definitions --- src/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 50e20472..bb6f5c2d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,7 +5,10 @@ import { BottomSheet as _BottomSheet } from './BottomSheet' import type { Props, RefHandles, SpringEvent } from './types' import { useLayoutEffect } from './hooks' -export type { RefHandles as BottomSheetRef } from './types' +export type { + RefHandles as BottomSheetRef, + Props as BottomSheetProps, +} from './types' // Because SSR is annoying to deal with, and all the million complaints about window, navigator and dom elenents! export const BottomSheet = forwardRef(function BottomSheet(