hooks
@shopify/shop-minis-platform-sdk / components/BottomSheet/hooks
useSnapPoints()
useSnapPoints(
overrides
?):object
Parameters
Parameter | Type |
---|---|
overrides ? | SnapPoints |
Returns
object
positionOne
positionOne:
number
=DEFAULT_BOTTOMSHEET_POSITION_ONE
positionTwo
positionTwo:
number
=DEFAULT_BOTTOMSHEET_POSITION_TWO