diff --git a/apps/docs/content/docs/develop/(components)/input-otp.mdx b/apps/docs/content/docs/develop/(components)/input-otp.mdx index 9abb4501..e8ff5be3 100644 --- a/apps/docs/content/docs/develop/(components)/input-otp.mdx +++ b/apps/docs/content/docs/develop/(components)/input-otp.mdx @@ -20,7 +20,7 @@ import { InputOTPControlledExample } from "./input-otp.client"; ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -45,7 +45,7 @@ import { InputOTPControlledExample } from "./input-otp.client"; ## Usage ```ts copy title="Import" -import { InputOTP, InputOTPSlot } from "@/components/myds"; +import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp"; ``` ```tsx copy title="Anatomy" @@ -74,7 +74,7 @@ Set the `invalid` prop to true to mark the input as invalid. ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -102,7 +102,7 @@ Disable the input by setting the `disabled` prop to true. ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -125,7 +125,7 @@ The input can be controlled by setting the `value` and `onChange` props. In the ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" const [value, setValue] = useState(""); @@ -161,7 +161,7 @@ Pass a regex to the `pattern` prop to only accept values of a certain pattern. F ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" diff --git a/apps/docs/content/docs/develop/(components)/input-otp.ms.mdx b/apps/docs/content/docs/develop/(components)/input-otp.ms.mdx index f6b20ef6..40354450 100644 --- a/apps/docs/content/docs/develop/(components)/input-otp.ms.mdx +++ b/apps/docs/content/docs/develop/(components)/input-otp.ms.mdx @@ -20,7 +20,7 @@ import { InputOTPControlledExample } from "./input-otp.client"; ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -45,7 +45,7 @@ import { InputOTPControlledExample } from "./input-otp.client"; ## Usage ```ts copy title="Import" -import { InputOTP, InputOTPSlot } from "@/components/myds"; +import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp"; ``` ```tsx copy title="Anatomi" @@ -74,7 +74,7 @@ Tetapkan prop `invalid` kepada true untuk menandakan input sebagai tidak sah. ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -102,7 +102,7 @@ Nyahaktifkan input dengan menetapkan prop `disabled` kepada true. ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" @@ -125,7 +125,7 @@ Input boleh dikawal dengan menetapkan props `value` dan `onChange`. Dalam contoh ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" const [value, setValue] = useState(""); @@ -161,7 +161,7 @@ Hantar regex kepada prop `pattern` untuk hanya menerima nilai corak tertentu. Se ```tsx - import { InputOTP, InputOTPSlot } from "@/components/myds" + import { InputOTP, InputOTPSlot } from "@govtechmy/myds-react/input-otp" diff --git a/apps/docs/content/docs/develop/(components)/tabs.mdx b/apps/docs/content/docs/develop/(components)/tabs.mdx index a943d6c3..7a94aa56 100644 --- a/apps/docs/content/docs/develop/(components)/tabs.mdx +++ b/apps/docs/content/docs/develop/(components)/tabs.mdx @@ -37,7 +37,7 @@ import { Tab, Tabs as FumaTabs } from "fumadocs-ui/components/tabs"; Tabs, TabsContent, TabsCounter, - } from "@/components/myds"; + } from "@govtechmy/myds-react/tabs"; @@ -761,7 +761,7 @@ Counters appear as numerical indicators after tab labels, providing at-a-glance Tabs, TabsContent, TabsCounter, - } from "@/components/myds"; + } from "@govtechmy/myds-react/tabs";