Change way to import images

This commit is contained in:
DefectingCat
2022-08-19 09:49:56 +08:00
parent 0f87104e20
commit 00b18b3b56
8 changed files with 186 additions and 53 deletions

View File

@ -3,6 +3,7 @@ import Anchor from 'components/mdx/Anchor';
import Image from 'components/mdx/Image';
import Tab from 'components/RUA/tab';
import TabItem from 'components/RUA/tab/TabItem';
import RUACodeSandbox from 'components/RUA/RUACodeSandbox';
const components = {
RUASandpack,
@ -10,6 +11,7 @@ const components = {
Image,
Tab,
TabItem,
RUACodeSandbox,
};
export default components;