Skip to content

Commit 853ec06

Browse files
committed
style: 💄 fix React imports
1 parent 0bc3683 commit 853ec06

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

src/json-crdt-peritext-ui/plugins/minimal/RenderInline/Spoiler.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule} from 'nano-theme';
34

45
const blockClass = rule({

src/json-crdt-peritext-ui/plugins/minimal/RenderInline/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {usePeritext} from '../../../react';
34
import {useSyncStoreOpt} from '../../../react/hooks';
45
import {DefaultRendererColors} from '../constants';

src/json-crdt-peritext-ui/plugins/toolbar/RenderInline/Code.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule, drule, theme, useTheme} from 'nano-theme';
34
import type {InlineAttr} from '../../../../json-crdt-extensions';
45

src/json-crdt-peritext-ui/plugins/toolbar/RenderInline/Del.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule} from 'nano-theme';
34

45
const delClass = rule({

src/json-crdt-peritext-ui/plugins/toolbar/RenderInline/Ins.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule} from 'nano-theme';
34

45
const blockClass = rule({

src/json-crdt-peritext-ui/plugins/toolbar/RenderInline/Kbd.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule, theme} from 'nano-theme';
34
import type {InlineAttr} from '../../../../json-crdt-extensions';
45

src/json-crdt-peritext-ui/plugins/toolbar/RenderInline/Spoiler.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import type * as React from 'react';
1+
// biome-ignore lint: React is used for JSX
2+
import * as React from 'react';
23
import {rule} from 'nano-theme';
34

45
const blockClass = rule({

0 commit comments

Comments
 (0)