From 853c9b3e9c3fecba0685aa7bb3c0019db3e7cbe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Tu=C4=9Frul=20=C5=9Eahin?= Date: Wed, 21 Nov 2018 09:26:49 +0100 Subject: [PATCH] Export enum ALIGNMENT as scrollAlignment to use with scrollToAlignment --- src/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index adbdba4..0164a06 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -12,7 +12,10 @@ import { sizeProp, } from './constants'; -export {DIRECTION as ScrollDirection} from './constants'; +export { + DIRECTION as ScrollDirection, + ALIGNMENT as scrollAlignment, +} from './constants'; export type ItemPosition = 'absolute' | 'sticky';