Skip to main content

BoxProps

Home > @backstage/ui > BoxProps

Signature:

export interface BoxProps extends SpaceProps 

Extends: SpaceProps

Properties

Property

Modifiers

Type

Description

as?

keyof JSX.IntrinsicElements

(Optional)

children?

React.ReactNode

(Optional)

className?

string

(Optional)

display?

Responsive<'none' | 'flex' | 'block' | 'inline'>

(Optional)

height?

Responsive<string>

(Optional)

maxHeight?

Responsive<string>

(Optional)

maxWidth?

Responsive<string>

(Optional)

minHeight?

Responsive<string>

(Optional)

minWidth?

Responsive<string>

(Optional)

position?

Responsive<'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'>

(Optional)

style?

React.CSSProperties

(Optional)

width?

Responsive<string>

(Optional)