marginRight

Type: Function

How to get marginRight?

JavaScript

import { marginRight } from 'fds/system';

A styling mixin used for setting a margin on the right of the element in the specified size.

Arguments

  1. marginSize

    (Required)

    The amount of margin-right rendered by the component.

Returns

Type: String

A style rule resulting in a generated class name on the element.

Generally created using fds/system/applyCss and/or any styling utility provided by FDS.