From 97c0253426d99c6e2fe1f288dfef28bd8395e796 Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:02:29 -0500 Subject: [PATCH] docs(input): add missing imports for maskito and input masking --- static/usage/v7/input/mask/react.md | 3 ++- static/usage/v8/input/mask/react.md | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/usage/v7/input/mask/react.md b/static/usage/v7/input/mask/react.md index 0f6ec39cb4f..d6df2eb4bde 100644 --- a/static/usage/v7/input/mask/react.md +++ b/static/usage/v7/input/mask/react.md @@ -1,8 +1,9 @@ ```tsx import { useState } from 'react'; import { IonInput, IonItem, IonList } from '@ionic/react'; -import { useMaskito } from '@maskito/react'; + import { MaskitoOptions, maskitoTransform } from '@maskito/core'; +import { useMaskito } from '@maskito/react'; function Example() { const cardMask = useMaskito({ diff --git a/static/usage/v8/input/mask/react.md b/static/usage/v8/input/mask/react.md index 539bebc0e12..d6df2eb4bde 100644 --- a/static/usage/v8/input/mask/react.md +++ b/static/usage/v8/input/mask/react.md @@ -1,6 +1,8 @@ ```tsx -import React from 'react'; +import { useState } from 'react'; import { IonInput, IonItem, IonList } from '@ionic/react'; + +import { MaskitoOptions, maskitoTransform } from '@maskito/core'; import { useMaskito } from '@maskito/react'; function Example() {