Return an object in the format classnames expects for spacing classes built by using a passed in string or array of strings defining spaces at breakpoints.
Parameters:
Name | Type | Description |
---|---|---|
prop | string | | The spacing information matching units in the design system. |
classname | string | The root classname to apply to the spacing classes. |
- Since
- 1.4.2
- Source
Returns:
The spacing classes object.
- Type:
- object