paddingTop

Type: Function

How to get paddingTop?

JavaScript

import { paddingTop } from 'fds/system';

A styling mixin used for setting a padding on the top of the element in the specified size.

Arguments

  1. paddingSize

    (Required)

    Type: String | Number

    The amount of padding-top rendered by the component.

    This should be a either, A single size value, one of the following values:

    • 0 (zero, no padding at all)

    • 's' (small)

    • 'm' (medium)

    • 'l' (large)

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.