@ludo.ninja/components 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "next dev -p 4000",
@@ -24,7 +24,7 @@ const dmsansFont = DM_Sans({
24
24
  fallback: ['LocalDMSansFont'],
25
25
  });
26
26
 
27
- const FontsInitializeLayout = ({ children }: { children: ReactNode }) => {
27
+ export const FontsInitializeLayout = ({ children }: { children: ReactNode }) => {
28
28
  useEffect(() => {
29
29
  document.body.classList.add(poppinsFont.variable);
30
30
  document.body.classList.add(dmsansFont.variable);
@@ -163,5 +163,3 @@ export const GlobalFontsFallback = css`
163
163
  src: url('/fonts/dm-sans-v15-latin-700italic.woff2') format('woff2');
164
164
  }
165
165
  `;
166
-
167
- export default FontsInitializeLayout;
@@ -1,2 +1,2 @@
1
- export { default as FontsInitializeLayout } from './FontsInitializeLayout';
1
+ export * from './FontsInitializeLayout';
2
2
  export * from './vars';