diff --git a/default-react-modules/src/components/StyledJSXIsland.jsx b/default-react-modules/src/components/modules/BlogPosts-V0/StyledJSXIsland.jsx similarity index 100% rename from default-react-modules/src/components/StyledJSXIsland.jsx rename to default-react-modules/src/components/modules/BlogPosts-V0/StyledJSXIsland.jsx diff --git a/default-react-modules/src/components/StyledJSXRegistry.jsx b/default-react-modules/src/components/modules/BlogPosts-V0/StyledJSXRegistry.jsx similarity index 100% rename from default-react-modules/src/components/StyledJSXRegistry.jsx rename to default-react-modules/src/components/modules/BlogPosts-V0/StyledJSXRegistry.jsx diff --git a/default-react-modules/src/components/modules/BlogPosts-V0/index.jsx b/default-react-modules/src/components/modules/BlogPosts-V0/index.jsx index c01d002..169dfbf 100644 --- a/default-react-modules/src/components/modules/BlogPosts-V0/index.jsx +++ b/default-react-modules/src/components/modules/BlogPosts-V0/index.jsx @@ -1,5 +1,5 @@ import blogIcon from './assets/blog.svg'; -import StyledJSXRegistry from '../../StyledJSXRegistry.jsx'; +import StyledJSXRegistry from './StyledJSXRegistry.jsx'; import styles from './styles.module.css'; function stripTags(stringWithTags) { diff --git a/react-module-boilerplate/react-modules/src/package.json b/react-module-boilerplate/react-modules/src/package.json index 909f5b6..591f2a5 100644 --- a/react-module-boilerplate/react-modules/src/package.json +++ b/react-module-boilerplate/react-modules/src/package.json @@ -17,7 +17,8 @@ "dependencies": { "@hubspot/cms-components": "^0.14", "react": "^18.2.0", - "styled-components": "^6" + "styled-components": "^6", + "styled-jsx": "^5" }, "devDependencies": { "@hubspot/cms-dev-server": "^0.14"