Skip to main content
Version: Next

BoxProps

Home > @backstage/canon > BoxProps

Signature:

export interface BoxProps extends SpaceProps 

Extends: SpaceProps

Properties

Property

Modifiers

Type

Description

as?

BoxOwnProps['as']

(Optional)

children?

React.ReactNode

(Optional)

className?

string

(Optional)

display?

DisplayProps['display']

(Optional)

height?

HeightProps['height']

(Optional)

maxHeight?

HeightProps['maxHeight']

(Optional)

maxWidth?

WidthProps['maxWidth']

(Optional)

minHeight?

HeightProps['minHeight']

(Optional)

minWidth?

WidthProps['minWidth']

(Optional)

position?

PositionProps['position']

(Optional)

style?

React.CSSProperties

(Optional)

width?

WidthProps['width']

(Optional)