Skip to main content
Version: Next

SpaceProps

Home > @backstage/canon > SpaceProps

Signature:

export interface SpaceProps 

Properties

Property

Modifiers

Type

Description

margin?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginBottom?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginLeft?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginRight?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginTop?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginX?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

marginY?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

padding?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingBottom?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingLeft?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingRight?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingTop?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingX?

Space | Partial<Record<Breakpoint, Space>>

(Optional)

paddingY?

Space | Partial<Record<Breakpoint, Space>>

(Optional)