Dimensions
@shopify/shop-minis-platform-sdk / components/Dimensions
MinisDimensionsProvider()
MinisDimensionsProvider(
__namedParameters
):Element
Parameters
Parameter | Type |
---|---|
__namedParameters | object |
__namedParameters.children ? | ReactNode |
Returns
Element
useMinisDimensions()
useMinisDimensions():
object
Returns
object
height
height:
number
=RNHeight
width
width:
number
=RNWidth