Box
@shopify/shop-minis-platform-sdk / components/Box
BoxProps
BoxProps:
React.ComponentProps
\<typeofBox
>
ReanimatedBox
const
ReanimatedBox:ComponentClass
\<AnimateProps
\<BackgroundColorProps
\<object
> &OpacityProps
\<object
> &VisibleProps
\<object
> &LayoutProps
\<object
> &SpacingProps
\<object
> &object
&object
&object
&object
&object
&object
&object
&Omit
\<ViewProps
&object
,"width"
|"height"
|"borderRadius"
|"minWidth"
|"maxWidth"
|"minHeight"
|"maxHeight"
|"overflow"
|"aspectRatio"
|"alignContent"
|"alignItems"
|"alignSelf"
|"justifyContent"
|"flex"
|"flexBasis"
|"flexDirection"
|"flexGrow"
|"flexShrink"
|"flexWrap"
|"margin"
|"marginTop"
|"marginRight"
|"marginBottom"
|"marginLeft"
|"marginHorizontal"
|"marginVertical"
|"marginStart"
|"marginEnd"
|"padding"
|"paddingTop"
|"paddingRight"
|"paddingBottom"
|"paddingLeft"
|"paddingHorizontal"
|"paddingVertical"
|"paddingStart"
|"paddingEnd"
|"columnGap"
|"rowGap"
|"gap"
|"borderBottomWidth"
|"borderLeftWidth"
|"borderRightWidth"
|"borderStyle"
|"borderTopWidth"
|"borderStartWidth"
|"borderEndWidth"
|"borderWidth"
|"borderColor"
|"borderTopColor"
|"borderRightColor"
|"borderLeftColor"
|"borderBottomColor"
|"borderStartColor"
|"borderEndColor"
|"borderBottomLeftRadius"
|"borderBottomRightRadius"
|"borderTopLeftRadius"
|"borderTopRightRadius"
|"borderBottomStartRadius"
|"borderBottomEndRadius"
|"borderTopStartRadius"
|"borderTopEndRadius"
|"shadowOpacity"
|"shadowOffset"
|"shadowRadius"
|"elevation"
|"position"
|"top"
|"right"
|"bottom"
|"left"
|"start"
|"end"
|"backgroundColor"
|"opacity"
|"visible"
|"shadowColor"
|"zIndex"
> &RefAttributes
\<unknown
>>,any
>
Box()
Box(
props
):ReactNode
NOTE: Exotic components are not callable.
Parameters
Parameter | Type |
---|---|
props | BackgroundColorProps \<object > & OpacityProps \<object > & VisibleProps \<object > & LayoutProps \<object > & SpacingProps \<object > & object & object & object & object & object & object & object & Omit \<ViewProps & object , "width" | "height" | "borderRadius" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "top" | "right" | "bottom" | "left" | "start" | "end" | "backgroundColor" | "opacity" | "visible" | "shadowColor" | "zIndex" > & RefAttributes \<unknown > |
Returns
ReactNode