We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dba778 commit db22cdeCopy full SHA for db22cde
packages/documentation/src/utils/getSandbox.ts
@@ -77,6 +77,13 @@ export default function getSandbox(
77
"$rmd-theme-light: false"
78
);
79
}
80
+
81
+ if (fileName.endsWith(".scss")) {
82
+ content = content.replace(
83
+ /^@(use|forward) ('|")react-md\2(.*)$/gm,
84
+ "// Note: Outside of codesandbox, this can be `@$1 $2react-md$2$3`\n@$1 $2react-md/dist/everything$2$3"
85
+ );
86
+ }
87
} else if (
88
typeof content === "object" &&
89
content &&
0 commit comments