Type alias Padding

Padding: LengthPx | {
    bottom?: LengthPx;
    left?: LengthPx;
    right?: LengthPx;
    top?: LengthPx;
}

Padding around an auto-sized container. Scalar applies to all sides; object form allows per-side values.

Type declaration

  • Optional bottom?: LengthPx
  • Optional left?: LengthPx
  • Optional right?: LengthPx
  • Optional top?: LengthPx