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