borderRight

How to get borderRight

import { borderRight } from 'fds/system';

Type: Function

A styling mixin used for drawing a border on the right of the element in the specified color.

Arguments

# Name Type Description
1. borderRightColor String

The color of the border, can be any valid value for the CSS "border-right-color" property.

2. borderRightWidth String

The width of the border, can be any valid value for the CSS "border-right-width" property.


  Default value
"1px"
3. borderRightStyle String

The radius of the border, can be any valid value for the CSS "border-right-style" property.


  Default value
"solid"

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.

Was this page helpful?