Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPaddingOptions

The options for the Padding class. they can customise the spacing and safe values. The values are usually pulled from the inside the Constants class, specifically the nested Spacing.

example
import { constants, Padding } from '@ef-carbon/react-native-styles';
const padding = new Padding({ spacing: constants.spacing, safe: constants.safe });

Hierarchy

  • IPaddingOptions

Index

Properties

Properties

safe

safe: ISafe

The orientation aware safe spacing provider

see

Safe

spacing

spacing: ILength

The spacing values to use when creating the padding style mixins

see

Spacing