diff --git a/app/layout.tsx b/app/layout.tsx index 60212e5..612714f 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,13 +1,20 @@ import "../src/styles/generics.css" import "../src/styles/button.css" import "../src/styles/ripple.css" -import {Metadata} from "next"; +import {Metadata, Viewport} from "next"; export const metadata: Metadata = { title: 'Create Next App', description: 'Generated by create next app', } +export const viewport: Viewport = { + width: 'device-width', + initialScale: 1, + maximumScale: 1, + userScalable: false, +} + export default function RootLayout({ children, }: { diff --git a/src/primitive-components/checkbox-layout/check-box-skeleton.tsx b/src/primitive-components/checkbox-layout/check-box-layout.tsx similarity index 95% rename from src/primitive-components/checkbox-layout/check-box-skeleton.tsx rename to src/primitive-components/checkbox-layout/check-box-layout.tsx index e6eb607..89e3eb3 100644 --- a/src/primitive-components/checkbox-layout/check-box-skeleton.tsx +++ b/src/primitive-components/checkbox-layout/check-box-layout.tsx @@ -3,7 +3,7 @@ import React, {forwardRef, useEffect, useImperativeHandle, useRef} from 'react'; import {CheckboxLayoutProps} from "./checkbox-layout.types"; -export const CheckBoxSkeleton = forwardRef( +export const CheckBoxLayout = forwardRef( function CheckBoxBase({indeterminate, typeInput, type, ...props} : CheckboxLayoutProps, ref) : JSX.Element { diff --git a/src/primitive-components/checkbox/checkbox.tsx b/src/primitive-components/checkbox/checkbox.tsx index f3535f4..b926f9f 100644 --- a/src/primitive-components/checkbox/checkbox.tsx +++ b/src/primitive-components/checkbox/checkbox.tsx @@ -1,7 +1,7 @@ import {RippleArea} from "../ripple/ripple-area"; import {IRippleProps} from "../ripple/ripple.types"; import useRippleEffect from "../ripple/hooks/useRippleEffect"; -import {CheckBoxSkeleton} from "../checkbox-layout/check-box-skeleton"; +import {CheckBoxLayout} from "../checkbox-layout/check-box-layout"; import {forwardRef, useEffect, useImperativeHandle, useRef, useState} from "react"; /** @@ -30,10 +30,10 @@ export const Checkbox = forwardRef( return (