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.
import { constants, Padding } from '@ef-carbon/react-native-styles'; const padding = new Padding({ spacing: constants.spacing, safe: constants.safe });
The orientation aware safe spacing provider
Safe
The spacing values to use when creating the padding style mixins
Spacing
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.
import { constants, Padding } from '@ef-carbon/react-native-styles'; const padding = new Padding({ spacing: constants.spacing, safe: constants.safe });