Skip to main content

Dimensions

@shopify/shop-minis-platform-sdk / components/Dimensions

MinisDimensionsProvider()

MinisDimensionsProvider(__namedParameters): Element

Parameters

ParameterType
__namedParametersobject
__namedParameters.children?ReactNode

Returns

Element


useMinisDimensions()

useMinisDimensions(): object

Returns

object

height

height: number = RNHeight

width

width: number = RNWidth