From 8f326d751dc267e94e0723ed12036069794ed925 Mon Sep 17 00:00:00 2001 From: galbuqp <83587590+galbuqp@users.noreply.github.com> Date: Mon, 19 Jul 2021 12:52:49 -0300 Subject: [PATCH] Update index.tsx added className prop --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index d684a6d..f5d5e16 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -20,6 +20,7 @@ export interface ActionSheetProps { zIndex?: number; closeOnBgTap?: boolean; bgTransition?: string; + className?: string; sheetTransition?: string; reverse?: boolean; } @@ -46,6 +47,7 @@ const ActionSheet = React.forwardRef< zIndex = 998, closeOnBgTap = true, bgTransition = "opacity 0.5s ease-in-out, z-index 0.5s ease-in-out", + className="action-sheet", sheetTransition = "transform 0.3s ease-in-out", reverse = false, }, @@ -177,6 +179,7 @@ const ActionSheet = React.forwardRef<