The Direction component resolves the difference among directions.
resolve( prop: string, axisOnly?: boolean ): string
Resolves the provided property name according to the current direction.
For example, this resolves
marginBottom in the TTB mode, and
marginLeft in the RTL mode.
Here is a list of acceptable names:
orient( value: number ): number
Orients the value towards the current direction.
orient( 100 ) returns
-100 in the LTR mode, and
100 in the RTL mode.