Skip to content

Commit

Permalink
docs(input): add missing imports for maskito and input masking
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Dec 27, 2024
1 parent 30ed3d0 commit 97c0253
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion static/usage/v7/input/mask/react.md
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
4 changes: 3 additions & 1 deletion static/usage/v8/input/mask/react.md
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 97c0253

Please sign in to comment.