@@ -35,7 +35,7 @@ Basic usage
3535
3636``` bash
3737const postcss = require(' postcss' );
38- const { postcssRTLCSS } = require(' postcss-rtlcss' );
38+ const postcssRTLCSS = require(' postcss-rtlcss' );
3939
4040const options = { ... available options ... };
4141const result = postcss([
@@ -49,7 +49,7 @@ const rtlCSS = result.css;
4949
5050` ` ` bash
5151import postcss from ' postcss' ;
52- import { postcssRTLCSS } from ' postcss-rtlcss' ;
52+ import postcssRTLCSS from ' postcss-rtlcss' ;
5353
5454const options = { ... available options ... };
5555const result = postcss([
@@ -318,7 +318,8 @@ The mode option has been explained in the [Output using the combined mode](#outp
318318
319319```javascript
320320import postcss from ' postcss' ;
321- import { postcssRTLCSS, Mode } from ' postcss-rtlcss' ;
321+ import postcssRTLCSS from ' postcss-rtlcss' ;
322+ import { Mode } from ' postcss-rtlcss/options' ;
322323
323324const input = ' ... css code ...' ;
324325const optionsCombined = { mode: Mode.combined }; // This is the default value
@@ -586,7 +587,7 @@ This option manages if the conversion will be from `LTR` to `RTL` or vice versa.
586587##### Using Source.ltr in combined mode
587588
588589```javascript
589- import { Mode, Source } from ' postcss-rtlcss' ;
590+ import { Mode, Source } from ' postcss-rtlcss/options ' ;
590591
591592const options = {
592593 mode: Mode.combined,
@@ -609,7 +610,7 @@ const options = {
609610##### Using Source.rtl in override mode
610611
611612```javascript
612- import { Mode, Source } from ' postcss-rtlcss' ;
613+ import { Mode, Source } from ' postcss-rtlcss/options ' ;
613614
614615const options = {
615616 mode: Mode.override,
@@ -929,7 +930,7 @@ Flip or not the selectors names of the rules without directional properties usin
929930##### Using Autorename.flexible
930931
931932```javascript
932- import { Autorename } from ' postcss-rtlcss' ;
933+ import { Autorename } from ' postcss-rtlcss/options ' ;
933934
934935const options = {
935936 autoRename: Autorename.flexible
@@ -955,7 +956,7 @@ const options = {
955956##### Using Autorename.strict
956957
957958```javascript
958- import { Autorename } from ' postcss-rtlcss' ;
959+ import { Autorename } from ' postcss-rtlcss/options ' ;
959960
960961const options = {
961962 autoRename: Autorename.strict
@@ -1007,7 +1008,7 @@ When `autoRename` is enabled and greedy is `true`, the strings replacements will
10071008# #### greedy false
10081009
10091010` ` ` javascript
1010- import { Autorename } from ' postcss-rtlcss' ;
1011+ import { Autorename } from ' postcss-rtlcss/options ' ;
10111012
10121013const options = {
10131014 autoRename: Autorename.flexible,
@@ -1030,7 +1031,7 @@ const options = {
10301031# #### greedy true
10311032
10321033` ` ` javascript
1033- import { Autorename } from ' postcss-rtlcss' ;
1034+ import { Autorename } from ' postcss-rtlcss/options ' ;
10341035
10351036const options = {
10361037 autoRename: Autorename.flexible,
0 commit comments