Bottom Sheet
Last updated
Last updated
import { BottomSheet, BottomSheetProps } from 'hc-mobile-app-ui';
isOpen
boolean
Specifies if the bottom sheet is open or not.
onDismiss
function
Function to be called when dismissing the bottom sheet.
header
HeaderProps (See Below)
Header component of the bottom sheet.
title
string
Title for the bottom sheet.
description
string
Description for the bottom sheet.
footer
function
Function that renders a component as the footer of the bottom sheet.
showCloseButton
boolean
If true, renders the close button on top-right corner.