Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(input): add missing imports for maskito in React #3976

Merged
merged 2 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/components/global/Playground/stackblitz.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ const openReactEditor = async (code: string, options?: EditorOptions) => {
'package.json': JSON.stringify(package_json, null, 2),
'package-lock.json': defaultFiles[5],
...options?.files,
...options?.dependencies,
'.stackblitzrc': `{
"startCommand": "yarn run start"
}`,
Expand Down
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